pub struct StructPat<'a> { /* private fields */ }
Trait Implementations
sourceimpl<'a> AstNode<'a> for StructPat<'a>
impl<'a> AstNode<'a> for StructPat<'a>
fn cast(syntax: SyntaxNodeRef<'a>) -> Option<Self>
fn syntax(self) -> SyntaxNodeRef<'a>
sourceimpl<'a> From<StructPat<'a>> for StructPatNode
impl<'a> From<StructPat<'a>> for StructPatNode
sourcefn from(ast: StructPat<'a>) -> StructPatNode
fn from(ast: StructPat<'a>) -> StructPatNode
Converts to this type from the input type.
impl<'a> Copy for StructPat<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for StructPat<'a>
impl<'a> Send for StructPat<'a>
impl<'a> Sync for StructPat<'a>
impl<'a> Unpin for StructPat<'a>
impl<'a> !UnwindSafe for StructPat<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more