Struct oxygengine_core::ecs::pipeline::DynamicClone
source · [−]pub struct DynamicClone { /* private fields */ }
Expand description
Type-erased Clone
implementation
Implementations
sourceimpl DynamicClone
impl DynamicClone
sourcepub 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
sourceimpl Clone for DynamicClone
impl Clone for DynamicClone
sourcefn clone(&self) -> DynamicClone
fn clone(&self) -> DynamicClone
Returns a copy of the value. Read more
1.0.0 · sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more