Trait call_by::By [−][src]
To get the type of T
via calling convention Convention
, write <T as By<'a, Convention>>::Type
.
Associated Types
Loading content...Required methods
fn copy(this: Self::Type) -> Self where
Self: Copy,
[src]
Self: Copy,
Copy a thing of unknown calling convention, returning an owned value.
fn clone(this: Self::Type) -> Self where
Self: Clone,
[src]
Self: Clone,
Clone a thing of unknown calling convention, returning an owned value.
Implementors
impl<'a, T> By<'a, Val> for T
[src]
type Type = T
fn copy(this: Self::Type) -> Self where
Self: Copy,
[src]
Self: Copy,
fn clone(this: Self::Type) -> Self where
Self: Clone,
[src]
Self: Clone,
impl<'a, T: 'a> By<'a, Mut> for T
[src]
type Type = &'a mut T
fn copy(this: Self::Type) -> Self where
Self: Copy,
[src]
Self: Copy,
fn clone(this: Self::Type) -> Self where
Self: Clone,
[src]
Self: Clone,