pub struct Property {
pub span_range: Range<usize>,
pub key: Ident,
pub value: Literal,
}
Expand description
Represents a key-value property.
Fields§
§span_range: Range<usize>
The range of the span in the source text.
key: Ident
Identifier representing the key of the property.
value: Literal
Literal value associated with the property.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin 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