[][src]Struct wain_ast::Root

pub struct Root<'s, S: Source> {
    pub module: Module<'s>,
    pub source: S,
}

Fields

module: Module<'s>source: S

Trait Implementations

impl<'s, S: Clone + Source> Clone for Root<'s, S>[src]

impl<'s, S: Debug + Source> Debug for Root<'s, S>[src]

impl<'s, S: PartialEq + Source> PartialEq<Root<'s, S>> for Root<'s, S>[src]

impl<'s, S: Source> StructuralPartialEq for Root<'s, S>[src]

Auto Trait Implementations

impl<'s, S> RefUnwindSafe for Root<'s, S> where
    S: RefUnwindSafe

impl<'s, S> Send for Root<'s, S> where
    S: Send

impl<'s, S> Sync for Root<'s, S> where
    S: Sync

impl<'s, S> Unpin for Root<'s, S> where
    S: Unpin

impl<'s, S> UnwindSafe for Root<'s, S> where
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.