pub struct NodeName {
pub sexp_name: String,
pub is_named: bool,
}Expand description
Uniquely identifies a node within a grammar.
Fields§
§sexp_name: String§is_named: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NodeName
impl<'de> Deserialize<'de> for NodeName
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for NodeName
impl Ord for NodeName
Source§impl PartialOrd for NodeName
impl PartialOrd for NodeName
impl Eq for NodeName
impl StructuralPartialEq for NodeName
Auto Trait Implementations§
impl Freeze for NodeName
impl RefUnwindSafe for NodeName
impl Send for NodeName
impl Sync for NodeName
impl Unpin for NodeName
impl UnwindSafe for NodeName
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