pub struct LabelAndProperties { /* private fields */ }Implementations§
Source§impl LabelAndProperties
impl LabelAndProperties
pub fn element_table_properties(&self) -> Option<ElementTableProperties>
pub fn name(&self) -> Option<Name>
pub fn default_token(&self) -> Option<SyntaxToken>
pub fn label_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for LabelAndProperties
impl AstNode for LabelAndProperties
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for LabelAndProperties
impl Clone for LabelAndProperties
Source§fn clone(&self) -> LabelAndProperties
fn clone(&self) -> LabelAndProperties
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LabelAndProperties
impl Debug for LabelAndProperties
Source§impl Hash for LabelAndProperties
impl Hash for LabelAndProperties
Source§impl PartialEq for LabelAndProperties
impl PartialEq for LabelAndProperties
impl Eq for LabelAndProperties
impl StructuralPartialEq for LabelAndProperties
Auto Trait Implementations§
impl Freeze for LabelAndProperties
impl !RefUnwindSafe for LabelAndProperties
impl !Send for LabelAndProperties
impl !Sync for LabelAndProperties
impl Unpin for LabelAndProperties
impl UnsafeUnpin for LabelAndProperties
impl !UnwindSafe for LabelAndProperties
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