Trait arraybox::Buf

source ·
pub unsafe trait Buf: Default {
    fn as_ptr(&self) -> *const u8;
    fn as_mut_ptr(&mut self) -> *mut u8;
    fn align() -> usize;
    fn len() -> usize;
}
Expand description

Safety

This trait can be implemented only through unconditional delegating to another implementation.

Required Methods§

Implementors§