Enum incrust::container::args::Arg
[−]
[src]
pub enum Arg<'r> { Owned(Box<for<'t> Type<'t> + 'r>), Ref(&'r for<'t> Type<'t> + 'r), }
Variants
Owned(Box<for<'t> Type<'t> + 'r>)
Ref(&'r for<'t> Type<'t> + 'r)
Methods
impl<'r> Arg<'r>
[src]
Trait Implementations
impl<'r> Debug for Arg<'r>
[src]
impl<'r> Clone for Arg<'r>
[src]
fn clone(&self) -> Arg<'r>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'r> Deref for Arg<'r>
[src]
type Target = for<'t> Type<'t> + 'r
The resulting type after dereferencing
fn deref(&self) -> &Self::Target
The method called to dereference a value