Enum jsonc_parser::ast::ObjectPropName
source · [−]Expand description
Represents an object property name that may or may not be in quotes.
Variants
String(StringLit<'a>)
Word(WordLit<'a>)
Implementations
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Gets the line number of the start position in the text.
Gets the start position.
Gets the end byte position.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ObjectPropName<'a>
impl<'a> Send for ObjectPropName<'a>
impl<'a> Sync for ObjectPropName<'a>
impl<'a> Unpin for ObjectPropName<'a>
impl<'a> UnwindSafe for ObjectPropName<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more