pub struct NativeViewData {
pub ptr: usize,
pub layout: Arc<NativeTypeLayout>,
pub mutable: bool,
}Expand description
Pointer-backed zero-copy view into native memory.
Fields§
§ptr: usize§layout: Arc<NativeTypeLayout>§mutable: boolTrait Implementations§
Source§impl Clone for NativeViewData
impl Clone for NativeViewData
Source§fn clone(&self) -> NativeViewData
fn clone(&self) -> NativeViewData
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 moreAuto Trait Implementations§
impl Freeze for NativeViewData
impl RefUnwindSafe for NativeViewData
impl Send for NativeViewData
impl Sync for NativeViewData
impl Unpin for NativeViewData
impl UnsafeUnpin for NativeViewData
impl UnwindSafe for NativeViewData
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