pub struct RefPat<'a> { /* private fields */ }
Trait Implementations
sourceimpl<'a> AstNode<'a> for RefPat<'a>
impl<'a> AstNode<'a> for RefPat<'a>
fn cast(syntax: SyntaxNodeRef<'a>) -> Option<Self>
fn syntax(self) -> SyntaxNodeRef<'a>
sourceimpl<'a> From<RefPat<'a>> for RefPatNode
impl<'a> From<RefPat<'a>> for RefPatNode
sourcefn from(ast: RefPat<'a>) -> RefPatNode
fn from(ast: RefPat<'a>) -> RefPatNode
Converts to this type from the input type.
impl<'a> Copy for RefPat<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for RefPat<'a>
impl<'a> Send for RefPat<'a>
impl<'a> Sync for RefPat<'a>
impl<'a> Unpin for RefPat<'a>
impl<'a> !UnwindSafe for RefPat<'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