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