[][src]Struct dyon::ast::Grab

pub struct Grab {
    pub level: u16,
    pub expr: Expression,
    pub source_range: Range,
}

Grab expression.

Fields

level: u16

Grab level.

expr: Expression

The sub-expression to compute.

source_range: Range

The range in source.

Implementations

impl Grab[src]

pub fn from_meta_data(
    file: &Arc<String>,
    source: &Arc<String>,
    convert: Convert,
    ignored: &mut Vec<Range>
) -> Result<(Range, Grab), ()>
[src]

Creates grab expression from meta data.

Trait Implementations

impl Clone for Grab[src]

impl Debug for Grab[src]

Auto Trait Implementations

impl !RefUnwindSafe for Grab

impl Send for Grab

impl Sync for Grab

impl Unpin for Grab

impl !UnwindSafe for Grab

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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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