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