Struct libffi::high::call::Arg
[−]
[src]
pub struct Arg<'a> { /* fields omitted */ }
Encapsulates an argument with its type information.
In order to set up calls using call
, we
need to wrap (a reference to) each argument in an Arg
. The usual
way to do this is with function arg
.
Methods
impl<'a> Arg<'a>
[src]
pub fn new<T: CType>(arg: &'a T) -> Self
[src]
Wraps an argument reference for passing to high::call::call
.
For a shorter alias of the same, see
high::call::arg
.
Trait Implementations
impl<'a> Clone for Arg<'a>
[src]
fn clone(&self) -> Arg<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more