#[repr(C)]pub struct ByteSlice {
pub pointer: *const u8,
pub length: usize,
}Fields§
§pointer: *const u8§length: usizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !Send for ByteSlice
impl !Sync for ByteSlice
impl Freeze for ByteSlice
impl RefUnwindSafe for ByteSlice
impl Unpin for ByteSlice
impl UnsafeUnpin for ByteSlice
impl UnwindSafe for ByteSlice
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