Struct PrivateData
#[repr(C)]pub struct PrivateData {
pub size: u16,
pub data: *mut u8,
}
Fields§
§size: u16
§data: *mut u8
Trait Implementations§
§impl Clone for PrivateData
impl Clone for PrivateData
§fn clone(&self) -> PrivateData
fn clone(&self) -> PrivateData
Returns a copy 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 moreimpl Copy for PrivateData
Auto Trait Implementations§
impl Freeze for PrivateData
impl RefUnwindSafe for PrivateData
impl !Send for PrivateData
impl !Sync for PrivateData
impl Unpin for PrivateData
impl UnwindSafe for PrivateData
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