Enum incrust::container::args::Arg [] [src]

pub enum Arg<'r> {
    Owned(Box<Type<'t> + 'r>),
    Ref(&'r Type<'t> + 'r),
}

Variants

Methods

impl<'r> Arg<'r>
[src]

Trait Implementations

impl<'r> Debug for Arg<'r>
[src]

Formats the value using the given formatter.

impl<'r> Clone for Arg<'r>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'r> Deref for Arg<'r>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<'r> AsRef<Type<'t> + 'r> for Arg<'r>
[src]

Performs the conversion.

impl<'r> From<&'r Arg<'r>> for Arg<'r>
[src]

Performs the conversion.

impl<'r, T: for<'t> Type<'t> + 'r> From<T> for Arg<'r>
[src]

Performs the conversion.

impl<'r> From<&'r Type<'t> + 'r> for Arg<'r>
[src]

Performs the conversion.