Type Alias pax_runtime_api::Property

source ·
pub type Property<T> = Box<dyn PropertyInstance<T>>;

Aliased Type§

struct Property<T>(/* private fields */);

Trait Implementations§

source§

impl<T: Default + Clone + 'static> Clone for Box<dyn PropertyInstance<T>>

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T: Default + Clone + 'static> Default for Box<dyn PropertyInstance<T>>

source§

fn default() -> Box<dyn PropertyInstance<T>>

Returns the “default value” for a type. Read more
1.0.0 · source§

impl<T, A> Deref for Box<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.