#[repr(C)]pub struct kernel_ByteArray {
pub data: *mut c_uchar,
pub size: usize,
}
Expand description
Convenience struct for holding serialized data.
Fields§
§data: *mut c_uchar
§size: usize
Trait Implementations§
Source§impl Clone for kernel_ByteArray
impl Clone for kernel_ByteArray
Source§fn clone(&self) -> kernel_ByteArray
fn clone(&self) -> kernel_ByteArray
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for kernel_ByteArray
impl Debug for kernel_ByteArray
impl Copy for kernel_ByteArray
Auto Trait Implementations§
impl Freeze for kernel_ByteArray
impl RefUnwindSafe for kernel_ByteArray
impl !Send for kernel_ByteArray
impl !Sync for kernel_ByteArray
impl Unpin for kernel_ByteArray
impl UnwindSafe for kernel_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