Struct gluon_vm::core::Alternative
source · Fields
pattern: Pattern
expr: &'a Expr<'a>
Trait Implementations
sourceimpl<'a> Clone for Alternative<'a>
impl<'a> Clone for Alternative<'a>
sourcefn clone(&self) -> Alternative<'a>
fn clone(&self) -> Alternative<'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 Alternative<'a>
impl<'a> Debug for Alternative<'a>
sourceimpl<'a> PartialEq<Alternative<'a>> for Alternative<'a>
impl<'a> PartialEq<Alternative<'a>> for Alternative<'a>
sourcefn eq(&self, other: &Alternative<'a>) -> bool
fn eq(&self, other: &Alternative<'a>) -> bool
impl<'a> StructuralPartialEq for Alternative<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Alternative<'a>
impl<'a> Send for Alternative<'a>
impl<'a> Sync for Alternative<'a>
impl<'a> Unpin for Alternative<'a>
impl<'a> UnwindSafe for Alternative<'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