pub enum CopySource {
BlockEntity,
This,
Attacker,
DirectAttacker,
}Expand description
Source for copying components.
Variants§
Trait Implementations§
Source§impl Clone for CopySource
impl Clone for CopySource
Source§fn clone(&self) -> CopySource
fn clone(&self) -> CopySource
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 moreimpl Copy for CopySource
Auto Trait Implementations§
impl Freeze for CopySource
impl RefUnwindSafe for CopySource
impl Send for CopySource
impl Sync for CopySource
impl Unpin for CopySource
impl UnsafeUnpin for CopySource
impl UnwindSafe for CopySource
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