pub enum Rule {
Show 27 variants
EOI,
WHITESPACE,
file,
root,
header,
metadata,
metadata_key,
metadata_value,
metadata_version,
guid,
hex,
object,
object_pair,
object_key,
array,
value,
flag,
boolean,
null,
identifier,
string,
string_value,
string_character,
multiline_string,
multiline_string_value,
multiline_string_character,
number,
}
Variants§
EOI
End-of-input
WHITESPACE
file
root
header
metadata
metadata_key
metadata_value
metadata_version
guid
hex
object
object_pair
object_key
array
value
flag
boolean
null
identifier
string
string_value
string_character
multiline_string
multiline_string_value
multiline_string_character
number
Implementations§
Trait Implementations§
Source§impl Ord for Rule
impl Ord for Rule
Source§impl PartialOrd for Rule
impl PartialOrd for Rule
impl Copy for Rule
impl Eq for Rule
impl StructuralPartialEq for Rule
Auto Trait Implementations§
impl Freeze for Rule
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
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