pub trait Clonable: DynClone {
// Required methods
unsafe fn raw_clone_to(&self, dst: *mut u8);
unsafe fn raw_move_to(&mut self, dst: *mut u8);
unsafe fn raw_clone_from(&mut self, src: *const u8);
}Required Methods§
Sourceunsafe fn raw_clone_to(&self, dst: *mut u8)
unsafe fn raw_clone_to(&self, dst: *mut u8)
Sourceunsafe fn raw_move_to(&mut self, dst: *mut u8)
unsafe fn raw_move_to(&mut self, dst: *mut u8)
Move the contents of self into dst, replacing the contents of
self with Self::default().
§Safety
dst must be a valid mutable reference to a value of type Self.