#[repr(C)]pub struct Instance {
pub v: usize,
pub w: usize,
pub cls: Class,
}Expand description
原生类型实例
Fields§
§v: usize原生类实例的第一个可用值
w: usize原生类实例的第二个可用值
cls: Class实例的原生类指针
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Instance
impl !RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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