pub struct PropertyMutator { /* private fields */ }Expand description
Owned handle to a heap-allocated PropertyMutate implementor, used by EntityProperty to signal field changes.
Implementations§
Source§impl PropertyMutator
impl PropertyMutator
Sourcepub fn new<M: PropertyMutate>(mutator: M) -> Self
pub fn new<M: PropertyMutate>(mutator: M) -> Self
Creates a PropertyMutator wrapping the given concrete PropertyMutate implementation.
Trait Implementations§
Source§impl Clone for PropertyMutator
impl Clone for PropertyMutator
Source§fn clone(&self) -> PropertyMutator
fn clone(&self) -> PropertyMutator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Deref for PropertyMutator
impl Deref for PropertyMutator
Auto Trait Implementations§
impl Freeze for PropertyMutator
impl !RefUnwindSafe for PropertyMutator
impl Send for PropertyMutator
impl Sync for PropertyMutator
impl Unpin for PropertyMutator
impl UnsafeUnpin for PropertyMutator
impl !UnwindSafe for PropertyMutator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more