[−][src]Struct gluon_base::ast::Alternative
Fields
pattern: SpannedPattern<'ast, Id>
expr: SpannedExpr<'ast, Id>
Trait Implementations
impl<'ast, Id> AstAlloc<'ast, Id> for Alternative<'ast, Id>
[src]
fn alloc(self, arena: &'ast Arena<'ast, Id>) -> &'ast mut Self
[src]
fn alloc_extend(
iter: impl IntoIterator<Item = Self>,
arena: &'ast Arena<'ast, Id>
) -> &'ast mut [Self]
[src]
iter: impl IntoIterator<Item = Self>,
arena: &'ast Arena<'ast, Id>
) -> &'ast mut [Self]
impl<'ast, Id> AstClone<'ast, Id> for Alternative<'ast, Id> where
Id: AstClone<'ast, Id>,
Id: Clone,
[src]
Id: AstClone<'ast, Id>,
Id: Clone,
impl<'ast, Id: Debug> Debug for Alternative<'ast, Id>
[src]
impl<'ast, Id: Eq> Eq for Alternative<'ast, Id>
[src]
impl<'ast, Id: PartialEq> PartialEq<Alternative<'ast, Id>> for Alternative<'ast, Id>
[src]
fn eq(&self, other: &Alternative<'ast, Id>) -> bool
[src]
fn ne(&self, other: &Alternative<'ast, Id>) -> bool
[src]
impl<'ast, Id> StructuralEq for Alternative<'ast, Id>
[src]
impl<'ast, Id> StructuralPartialEq for Alternative<'ast, Id>
[src]
Auto Trait Implementations
impl<'ast, Id> RefUnwindSafe for Alternative<'ast, Id> where
Id: RefUnwindSafe,
Id: RefUnwindSafe,
impl<'ast, Id> Send for Alternative<'ast, Id> where
Id: Send + Sync,
Id: Send + Sync,
impl<'ast, Id> Sync for Alternative<'ast, Id> where
Id: Send + Sync,
Id: Send + Sync,
impl<'ast, Id> Unpin for Alternative<'ast, Id> where
Id: Unpin,
Id: Unpin,
impl<'ast, Id> !UnwindSafe for Alternative<'ast, Id>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Id> AsId<Id> for Id where
Id: ?Sized,
[src]
Id: ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,