pub struct CSTNodeClassLabel<'syntax> {
pub name: Cow<'syntax, str>,
pub named: bool,
}Expand description
Backend-local node identity used only during external CST reconstruction.
Fields§
§name: Cow<'syntax, str>§named: boolImplementations§
Trait Implementations§
Source§impl<'syntax> Clone for CSTNodeClassLabel<'syntax>
impl<'syntax> Clone for CSTNodeClassLabel<'syntax>
Source§fn clone(&self) -> CSTNodeClassLabel<'syntax>
fn clone(&self) -> CSTNodeClassLabel<'syntax>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'syntax> Debug for CSTNodeClassLabel<'syntax>
impl<'syntax> Debug for CSTNodeClassLabel<'syntax>
impl<'syntax> Eq for CSTNodeClassLabel<'syntax>
Source§impl<'syntax> PartialEq for CSTNodeClassLabel<'syntax>
impl<'syntax> PartialEq for CSTNodeClassLabel<'syntax>
impl<'syntax> StructuralPartialEq for CSTNodeClassLabel<'syntax>
Auto Trait Implementations§
impl<'syntax> Freeze for CSTNodeClassLabel<'syntax>
impl<'syntax> RefUnwindSafe for CSTNodeClassLabel<'syntax>
impl<'syntax> Send for CSTNodeClassLabel<'syntax>
impl<'syntax> Sync for CSTNodeClassLabel<'syntax>
impl<'syntax> Unpin for CSTNodeClassLabel<'syntax>
impl<'syntax> UnsafeUnpin for CSTNodeClassLabel<'syntax>
impl<'syntax> UnwindSafe for CSTNodeClassLabel<'syntax>
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