#[repr(C)]pub struct NativeObject {
pub _base: Object,
pub slots: *mut Value,
pub _1: *mut c_void,
}Expand description
Layout for all NativeObjects.
Fields§
§_base: Object§slots: *mut Value§_1: *mut c_voidTrait Implementations§
Source§impl Clone for NativeObject
impl Clone for NativeObject
Source§fn clone(&self) -> NativeObject
fn clone(&self) -> NativeObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NativeObject
impl Debug for NativeObject
Source§impl PartialEq for NativeObject
impl PartialEq for NativeObject
Source§fn eq(&self, other: &NativeObject) -> bool
fn eq(&self, other: &NativeObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NativeObject
impl StructuralPartialEq for NativeObject
Auto Trait Implementations§
impl Freeze for NativeObject
impl RefUnwindSafe for NativeObject
impl !Send for NativeObject
impl !Sync for NativeObject
impl Unpin for NativeObject
impl UnsafeUnpin for NativeObject
impl UnwindSafe for NativeObject
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