pub struct Property {
pub key: String,
pub value: Option<String>,
pub capture: Option<u32>,
}Expand description
A query property in the shared format.
Fields§
§key: StringProperty name, such as injection.language.
value: Option<String>Optional literal property value.
capture: Option<u32>Optional capture index associated with the property.
Auto Trait Implementations§
impl Forget for Property
impl Freeze for Property
impl Move for Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnsafeUnpin for Property
impl UnwindSafe for Property
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