Struct mun_runtime::ArrayRef
source · pub struct ArrayRef<'a, T> { /* private fields */ }
Expand description
Type-agnostic wrapper for interoperability with a Mun array. This is merely a reference to the Mun array, that will be garbage collected unless it is rooted.
Implementations§
Trait Implementations§
source§impl<'a, T: Marshal<'a> + ArgumentReflection + 'a> ArgumentReflection for ArrayRef<'a, T>
impl<'a, T: Marshal<'a> + ArgumentReflection + 'a> ArgumentReflection for ArrayRef<'a, T>
source§impl<'a, T: Marshal<'a> + 'a> Marshal<'a> for ArrayRef<'a, T>
impl<'a, T: Marshal<'a> + 'a> Marshal<'a> for ArrayRef<'a, T>
source§fn marshal_from<'runtime>(
value: Self::MunType,
runtime: &'runtime Runtime
) -> Selfwhere
Self: 'a,
'runtime: 'a,
fn marshal_from<'runtime>(
value: Self::MunType,
runtime: &'runtime Runtime
) -> Selfwhere
Self: 'a,
'runtime: 'a,
Marshals from a value (i.e. Mun -> Rust).
source§fn marshal_into(self) -> Self::MunType
fn marshal_into(self) -> Self::MunType
Marshals itself into a
Marshalled
value (i.e. Rust -> Mun).