Struct ra_syntax::ast::MatchGuardNode
source · pub struct MatchGuardNode(_);
Implementations
sourceimpl MatchGuardNode
impl MatchGuardNode
pub fn ast(&self) -> MatchGuard<'_>
Trait Implementations
sourceimpl Clone for MatchGuardNode
impl Clone for MatchGuardNode
sourcefn clone(&self) -> MatchGuardNode
fn clone(&self) -> MatchGuardNode
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 Debug for MatchGuardNode
impl Debug for MatchGuardNode
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.
Auto Trait Implementations
impl !RefUnwindSafe for MatchGuardNode
impl Send for MatchGuardNode
impl Sync for MatchGuardNode
impl Unpin for MatchGuardNode
impl !UnwindSafe for MatchGuardNode
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