pub enum Context {
TagName {
typed: usize,
},
AttributeName {
tag: String,
typed: usize,
},
AttributeValue {
tag: String,
attribute: String,
typed: usize,
},
CustomAttribute(Pending),
SitePreference {
typed: usize,
},
RouteName {
typed: usize,
},
DwModule {
typed: usize,
},
DwImport {
typed: String,
},
DwDeclaration {
keyword: String,
typed: String,
},
DwMember {
class: String,
typed: usize,
},
}Expand description
typed counts the characters already there, so the completion replaces them instead of appending.
Variants§
TagName
AttributeName
AttributeValue
CustomAttribute(Pending)
After .custom. on something with a known object type.
SitePreference
RouteName
The first argument of server.<verb>(, which names a route.
DwModule
DwImport
A bare dwSite being typed, which stands for the class plus the
require that brings it in.
DwDeclaration
var Trans at the head of a file, where a require is being written.
DwMember
Trait Implementations§
impl Eq for Context
impl StructuralPartialEq for Context
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnsafeUnpin for Context
impl UnwindSafe for Context
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more