pub struct Label(/* private fields */);Expand description
label = ident / stringImplementations§
Trait Implementations§
Source§impl AstNode for Label
impl AstNode for Label
type Language = Lang
fn syntax(&self) -> &SyntaxNode<Self::Language>
fn can_cast(kind: <Self::Language as Language>::Kind) -> bool
fn cast(node: SyntaxNode<Self::Language>) -> Option<Self>
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
impl Eq for Label
impl StructuralPartialEq for Label
Auto Trait Implementations§
impl !RefUnwindSafe for Label
impl !Send for Label
impl !Sync for Label
impl !UnwindSafe for Label
impl Freeze for Label
impl Unpin for Label
impl UnsafeUnpin for Label
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