pub struct ListMember { /* private fields */ }Implementations§
Source§impl ListMember
impl ListMember
pub fn on_member(&self) -> Option<ListMemberOn>
pub fn off_member(&self) -> Option<ListMemberOff>
Trait Implementations§
Source§impl AstNode for ListMember
impl AstNode for ListMember
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true if a node with the given kind can be cast to Self.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Try to cast a generic
SyntaxNode into this typed wrapper.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
Access the underlying
SyntaxNode.Source§impl Clone for ListMember
impl Clone for ListMember
Source§fn clone(&self) -> ListMember
fn clone(&self) -> ListMember
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 Debug for ListMember
impl Debug for ListMember
Source§impl Display for ListMember
impl Display for ListMember
impl Eq for ListMember
Source§impl Hash for ListMember
impl Hash for ListMember
Source§impl PartialEq for ListMember
impl PartialEq for ListMember
Source§fn eq(&self, other: &ListMember) -> bool
fn eq(&self, other: &ListMember) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListMember
Auto Trait Implementations§
impl !RefUnwindSafe for ListMember
impl !Send for ListMember
impl !Sync for ListMember
impl !UnwindSafe for ListMember
impl Freeze for ListMember
impl Unpin for ListMember
impl UnsafeUnpin for ListMember
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