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