pub struct CSTNodeClassLabel<'syntax> {
pub name: Cow<'syntax, str>,
pub named: bool,
}Expand description
Backend-local node identity used only during external CST migration.
Fields§
§name: Cow<'syntax, str>The backend-specific node kind.
named: boolWhether the backend exposes the node as named syntax.
Implementations§
Trait Implementations§
Source§impl<'syntax> Clone for CSTNodeClassLabel<'syntax>
impl<'syntax> Clone for CSTNodeClassLabel<'syntax>
Source§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