Struct ra_syntax::ast::TupleStructPat
source · pub struct TupleStructPat<'a> { /* private fields */ }
Trait Implementations
sourceimpl<'a> AstNode<'a> for TupleStructPat<'a>
impl<'a> AstNode<'a> for TupleStructPat<'a>
fn cast(syntax: SyntaxNodeRef<'a>) -> Option<Self>
fn syntax(self) -> SyntaxNodeRef<'a>
sourceimpl<'a> Clone for TupleStructPat<'a>
impl<'a> Clone for TupleStructPat<'a>
sourcefn clone(&self) -> TupleStructPat<'a>
fn clone(&self) -> TupleStructPat<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for TupleStructPat<'a>
impl<'a> Debug for TupleStructPat<'a>
sourceimpl<'a> From<TupleStructPat<'a>> for TupleStructPatNode
impl<'a> From<TupleStructPat<'a>> for TupleStructPatNode
sourcefn from(ast: TupleStructPat<'a>) -> TupleStructPatNode
fn from(ast: TupleStructPat<'a>) -> TupleStructPatNode
Converts to this type from the input type.
impl<'a> Copy for TupleStructPat<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for TupleStructPat<'a>
impl<'a> Send for TupleStructPat<'a>
impl<'a> Sync for TupleStructPat<'a>
impl<'a> Unpin for TupleStructPat<'a>
impl<'a> !UnwindSafe for TupleStructPat<'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