pub struct ByteArray { /* private fields */ }Expand description
A struct represents a byte array. Dependents can read it from ptr to ptr+len, and should ignore about cap. ptr can be null pointer, so dependents must check the ptr is not null.
Trait Implementations§
impl Copy for ByteArray
Auto Trait Implementations§
impl Freeze for ByteArray
impl RefUnwindSafe for ByteArray
impl !Send for ByteArray
impl !Sync for ByteArray
impl Unpin for ByteArray
impl UnwindSafe for ByteArray
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