pub trait BulkOps<T>: Ops {
// Required methods
unsafe fn memmove(dst: *mut T, src: *const T, count: usize);
unsafe fn memcpy(dst: *mut T, src: *const T, count: usize);
unsafe fn memset(dst: *mut T, val: u8, count: usize);
}
Required Methods§
unsafe fn memmove(dst: *mut T, src: *const T, count: usize)
unsafe fn memcpy(dst: *mut T, src: *const T, count: usize)
unsafe fn memset(dst: *mut T, val: u8, count: usize)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.