Struct oxygengine::prelude::DynamicClone
pub struct DynamicClone { /* private fields */ }
Expand description
Type-erased Clone
implementation
Implementations§
§impl DynamicClone
impl DynamicClone
pub fn new<T>() -> DynamicClonewhere
T: Component + Clone,
pub fn new<T>() -> DynamicClonewhere T: Component + Clone,
Create a new type ereased cloner for the type T
Trait Implementations§
§impl Clone for DynamicClone
impl Clone for DynamicClone
§fn clone(&self) -> DynamicClone
fn clone(&self) -> DynamicClone
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for DynamicClone
Auto Trait Implementations§
impl RefUnwindSafe for DynamicClone
impl Send for DynamicClone
impl Sync for DynamicClone
impl Unpin for DynamicClone
impl UnwindSafe for DynamicClone
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