pub struct PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: 'cglue_a + CGlueObjBase,{ /* private fields */ }Expand description
CGlue vtable for trait PhysicalMemory.
This virtual function table contains ABI-safe interface for the given trait.
Implementations§
Source§impl<'cglue_a, CGlueC> PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: CGlueObjBase,
impl<'cglue_a, CGlueC> PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: CGlueObjBase,
Sourcepub fn phys_read_raw_iter(
&self,
) -> unsafe extern "C" fn(&mut CGlueC, MemOps<'_, '_, '_, CTup3<PhysicalAddress, Address, CSliceMut<'_, u8>>, CTup2<Address, CSliceMut<'_, u8>>>) -> i32
pub fn phys_read_raw_iter( &self, ) -> unsafe extern "C" fn(&mut CGlueC, MemOps<'_, '_, '_, CTup3<PhysicalAddress, Address, CSliceMut<'_, u8>>, CTup2<Address, CSliceMut<'_, u8>>>) -> i32
Getter for phys_read_raw_iter.
Note that this function is wrapped into unsafe, because if already were is an opaque one, it would allow to invoke undefined behaviour.
Sourcepub fn phys_write_raw_iter(
&self,
) -> unsafe extern "C" fn(&mut CGlueC, MemOps<'_, '_, '_, CTup3<PhysicalAddress, Address, CSliceRef<'_, u8>>, CTup2<Address, CSliceRef<'_, u8>>>) -> i32
pub fn phys_write_raw_iter( &self, ) -> unsafe extern "C" fn(&mut CGlueC, MemOps<'_, '_, '_, CTup3<PhysicalAddress, Address, CSliceRef<'_, u8>>, CTup2<Address, CSliceRef<'_, u8>>>) -> i32
Getter for phys_write_raw_iter.
Note that this function is wrapped into unsafe, because if already were is an opaque one, it would allow to invoke undefined behaviour.
Sourcepub fn metadata(
&self,
) -> unsafe extern "C" fn(&CGlueC) -> PhysicalMemoryMetadata
pub fn metadata( &self, ) -> unsafe extern "C" fn(&CGlueC) -> PhysicalMemoryMetadata
Getter for metadata.
Note that this function is wrapped into unsafe, because if already were is an opaque one, it would allow to invoke undefined behaviour.
Sourcepub fn set_mem_map(
&self,
) -> unsafe extern "C" fn(&mut CGlueC, CSliceRef<'_, PhysicalMemoryMapping>)
pub fn set_mem_map( &self, ) -> unsafe extern "C" fn(&mut CGlueC, CSliceRef<'_, PhysicalMemoryMapping>)
Getter for set_mem_map.
Note that this function is wrapped into unsafe, because if already were is an opaque one, it would allow to invoke undefined behaviour.
Sourcepub fn into_phys_view(
&self,
) -> unsafe extern "C" fn(CGlueC) -> CGlueTraitObj<'static, CBox<'static, c_void>, MemoryViewVtbl<'static, CGlueObjContainer<CBox<'static, c_void>, <CGlueC as CGlueObjBase>::Context, PhantomData<MemoryViewRetTmpPhantom<<CGlueC as CGlueObjBase>::Context>>>>, <CGlueC as CGlueObjBase>::Context, PhantomData<MemoryViewRetTmpPhantom<<CGlueC as CGlueObjBase>::Context>>>
pub fn into_phys_view( &self, ) -> unsafe extern "C" fn(CGlueC) -> CGlueTraitObj<'static, CBox<'static, c_void>, MemoryViewVtbl<'static, CGlueObjContainer<CBox<'static, c_void>, <CGlueC as CGlueObjBase>::Context, PhantomData<MemoryViewRetTmpPhantom<<CGlueC as CGlueObjBase>::Context>>>>, <CGlueC as CGlueObjBase>::Context, PhantomData<MemoryViewRetTmpPhantom<<CGlueC as CGlueObjBase>::Context>>>
Getter for into_phys_view.
Note that this function is wrapped into unsafe, because if already were is an opaque one, it would allow to invoke undefined behaviour.
Sourcepub fn phys_view(
&self,
) -> for<'cglue_c> unsafe extern "C" fn(&'cglue_c mut CGlueC) -> CGlueTraitObj<'cglue_c, CBox<'cglue_c, c_void>, MemoryViewVtbl<'cglue_c, CGlueObjContainer<CBox<'cglue_c, c_void>, <CGlueC as CGlueObjBase>::Context, PhantomData<MemoryViewRetTmpPhantom<<CGlueC as CGlueObjBase>::Context>>>>, <CGlueC as CGlueObjBase>::Context, PhantomData<MemoryViewRetTmpPhantom<<CGlueC as CGlueObjBase>::Context>>>
pub fn phys_view( &self, ) -> for<'cglue_c> unsafe extern "C" fn(&'cglue_c mut CGlueC) -> CGlueTraitObj<'cglue_c, CBox<'cglue_c, c_void>, MemoryViewVtbl<'cglue_c, CGlueObjContainer<CBox<'cglue_c, c_void>, <CGlueC as CGlueObjBase>::Context, PhantomData<MemoryViewRetTmpPhantom<<CGlueC as CGlueObjBase>::Context>>>>, <CGlueC as CGlueObjBase>::Context, PhantomData<MemoryViewRetTmpPhantom<<CGlueC as CGlueObjBase>::Context>>>
Getter for phys_view.
Note that this function is wrapped into unsafe, because if already were is an opaque one, it would allow to invoke undefined behaviour.
Trait Implementations§
Source§impl<'cglue_a, CGlueC> CGlueBaseVtbl for PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: Opaquable + CGlueObjBase + 'cglue_a,
<CGlueC as Opaquable>::OpaqueTarget: Opaquable + CGlueObjBase + GenericTypeBounds,
<CGlueC as CGlueObjBase>::ObjType: PhysicalMemory,
PhysicalMemoryVtbl<'cglue_a, <CGlueC as Opaquable>::OpaqueTarget>: StableAbi,
impl<'cglue_a, CGlueC> CGlueBaseVtbl for PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: Opaquable + CGlueObjBase + 'cglue_a,
<CGlueC as Opaquable>::OpaqueTarget: Opaquable + CGlueObjBase + GenericTypeBounds,
<CGlueC as CGlueObjBase>::ObjType: PhysicalMemory,
PhysicalMemoryVtbl<'cglue_a, <CGlueC as Opaquable>::OpaqueTarget>: StableAbi,
type OpaqueVtbl = PhysicalMemoryVtbl<'cglue_a, <CGlueC as Opaquable>::OpaqueTarget>
type Context = <CGlueC as CGlueObjBase>::Context
type RetTmp = PhantomData<PhysicalMemoryRetTmpPhantom<<CGlueC as CGlueObjBase>::Context>>
Source§fn as_opaque(&self) -> &Self::OpaqueVtbl
fn as_opaque(&self) -> &Self::OpaqueVtbl
Source§impl<'cglue_a, CGlueC> CGlueVtblCont for PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: CGlueObjBase,
impl<'cglue_a, CGlueC> CGlueVtblCont for PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: CGlueObjBase,
Source§impl<'cglue_a, CGlueC, CGlueCtx> Default for &'cglue_a PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: CGlueObjMut<PhantomData<PhysicalMemoryRetTmpPhantom<CGlueCtx>>, Context = CGlueCtx> + 'cglue_a + Opaquable,
CGlueCtx: ContextBounds,
<CGlueC as CGlueObjBase>::ObjType: 'static + PhysicalMemory,
<CGlueC as CGlueObjBase>::InstType: IntoInner<InnerTarget = <CGlueC as CGlueObjBase>::ObjType>,
<CGlueC as Opaquable>::OpaqueTarget: GenericTypeBounds,
PhysicalMemoryVtbl<'cglue_a, CGlueC>: CGlueBaseVtbl,
Default vtable reference creation.
impl<'cglue_a, CGlueC, CGlueCtx> Default for &'cglue_a PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: CGlueObjMut<PhantomData<PhysicalMemoryRetTmpPhantom<CGlueCtx>>, Context = CGlueCtx> + 'cglue_a + Opaquable,
CGlueCtx: ContextBounds,
<CGlueC as CGlueObjBase>::ObjType: 'static + PhysicalMemory,
<CGlueC as CGlueObjBase>::InstType: IntoInner<InnerTarget = <CGlueC as CGlueObjBase>::ObjType>,
<CGlueC as Opaquable>::OpaqueTarget: GenericTypeBounds,
PhysicalMemoryVtbl<'cglue_a, CGlueC>: CGlueBaseVtbl,
Default vtable reference creation.
Source§fn default() -> &'cglue_a PhysicalMemoryVtbl<'cglue_a, CGlueC>
fn default() -> &'cglue_a PhysicalMemoryVtbl<'cglue_a, CGlueC>
Create a static vtable for the given type.
Source§impl<'cglue_a, CGlueC> GetStaticEquivalent_ for PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: 'cglue_a + CGlueObjBase + StableAbi,
impl<'cglue_a, CGlueC> GetStaticEquivalent_ for PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: 'cglue_a + CGlueObjBase + StableAbi,
type StaticEquivalent = _static_PhysicalMemoryVtbl<'static, <CGlueC as GetStaticEquivalent_>::StaticEquivalent>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, ConnectorInstanceContainer<CGlueInst, CGlueCtx>>> for ConnectorInstance<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, ConnectorInstanceContainer<CGlueInst, CGlueCtx>>> for ConnectorInstance<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, ConnectorInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, ConnectorInstanceContainer<CGlueInst, CGlueCtx>>> for ConnectorInstanceFinalWithConnectorCpuState<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, ConnectorInstanceContainer<CGlueInst, CGlueCtx>>> for ConnectorInstanceFinalWithConnectorCpuState<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, ConnectorInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, ConnectorInstanceContainer<CGlueInst, CGlueCtx>>> for ConnectorInstanceWithConnectorCpuState<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, ConnectorInstanceContainer<CGlueInst, CGlueCtx>>> for ConnectorInstanceWithConnectorCpuState<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, ConnectorInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewOsKeyboardPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewOsKeyboardPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithOsKeyboardPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithOsKeyboardPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewOsKeyboardPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewOsKeyboardPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithOsKeyboardPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithOsKeyboardPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithPhysicalMemory<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
impl<'cglue_a, CGlueInst, CGlueCtx> GetVtbl<PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>
fn get_vtbl( &self, ) -> &PhysicalMemoryVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
Source§impl<'cglue_a, CGlueC> StableAbi for PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: 'cglue_a + CGlueObjBase + StableAbi,
impl<'cglue_a, CGlueC> StableAbi for PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: 'cglue_a + CGlueObjBase + StableAbi,
Source§const LAYOUT: &'static TypeLayout
const LAYOUT: &'static TypeLayout
Source§type IsNonZeroType = False
type IsNonZeroType = False
Source§const ABI_CONSTS: AbiConsts = _
const ABI_CONSTS: AbiConsts = _
const-equivalents of the associated types.impl<'cglue_a, CGlueC, CGlueCtx> CGlueVtbl<CGlueC> for PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: CGlueObjMut<PhantomData<PhysicalMemoryRetTmpPhantom<CGlueCtx>>, Context = CGlueCtx> + 'cglue_a + Opaquable,
CGlueCtx: ContextBounds,
<CGlueC as Opaquable>::OpaqueTarget: Opaquable + CGlueObjBase + GenericTypeBounds,
<CGlueC as CGlueObjBase>::ObjType: PhysicalMemory,
Auto Trait Implementations§
impl<'cglue_a, CGlueC> Freeze for PhysicalMemoryVtbl<'cglue_a, CGlueC>
impl<'cglue_a, CGlueC> RefUnwindSafe for PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: RefUnwindSafe,
impl<'cglue_a, CGlueC> Send for PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: Sync,
impl<'cglue_a, CGlueC> Sync for PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: Sync,
impl<'cglue_a, CGlueC> Unpin for PhysicalMemoryVtbl<'cglue_a, CGlueC>
impl<'cglue_a, CGlueC> UnwindSafe for PhysicalMemoryVtbl<'cglue_a, CGlueC>where
CGlueC: RefUnwindSafe,
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
Source§impl<T> GetWithMetadata for T
impl<T> GetWithMetadata for T
Source§type ForSelf = WithMetadata_<T, T>
type ForSelf = WithMetadata_<T, T>
WithMetadata_<Self, Self>Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<S> ROExtAcc for S
impl<S> ROExtAcc for S
Source§fn f_get<F>(&self, offset: FieldOffset<S, F, Aligned>) -> &F
fn f_get<F>(&self, offset: FieldOffset<S, F, Aligned>) -> &F
offset. Read moreSource§fn f_get_mut<F>(&mut self, offset: FieldOffset<S, F, Aligned>) -> &mut F
fn f_get_mut<F>(&mut self, offset: FieldOffset<S, F, Aligned>) -> &mut F
offset. Read moreSource§fn f_get_ptr<F, A>(&self, offset: FieldOffset<S, F, A>) -> *const F
fn f_get_ptr<F, A>(&self, offset: FieldOffset<S, F, A>) -> *const F
offset. Read moreSource§fn f_get_mut_ptr<F, A>(&mut self, offset: FieldOffset<S, F, A>) -> *mut F
fn f_get_mut_ptr<F, A>(&mut self, offset: FieldOffset<S, F, A>) -> *mut F
offset. Read moreSource§impl<S> ROExtOps<Aligned> for S
impl<S> ROExtOps<Aligned> for S
Source§fn f_replace<F>(&mut self, offset: FieldOffset<S, F, Aligned>, value: F) -> F
fn f_replace<F>(&mut self, offset: FieldOffset<S, F, Aligned>, value: F) -> F
offset) with value,
returning the previous value of the field. Read moreSource§fn f_get_copy<F>(&self, offset: FieldOffset<S, F, Aligned>) -> Fwhere
F: Copy,
fn f_get_copy<F>(&self, offset: FieldOffset<S, F, Aligned>) -> Fwhere
F: Copy,
Source§impl<S> ROExtOps<Unaligned> for S
impl<S> ROExtOps<Unaligned> for S
Source§fn f_replace<F>(&mut self, offset: FieldOffset<S, F, Unaligned>, value: F) -> F
fn f_replace<F>(&mut self, offset: FieldOffset<S, F, Unaligned>, value: F) -> F
offset) with value,
returning the previous value of the field. Read moreSource§fn f_get_copy<F>(&self, offset: FieldOffset<S, F, Unaligned>) -> Fwhere
F: Copy,
fn f_get_copy<F>(&self, offset: FieldOffset<S, F, Unaligned>) -> Fwhere
F: Copy,
Source§impl<T> SelfOps for Twhere
T: ?Sized,
impl<T> SelfOps for Twhere
T: ?Sized,
Source§fn piped<F, U>(self, f: F) -> U
fn piped<F, U>(self, f: F) -> U
Source§fn piped_ref<'a, F, U>(&'a self, f: F) -> Uwhere
F: FnOnce(&'a Self) -> U,
fn piped_ref<'a, F, U>(&'a self, f: F) -> Uwhere
F: FnOnce(&'a Self) -> U,
piped except that the function takes &Self
Useful for functions that take &Self instead of Self. Read moreSource§fn piped_mut<'a, F, U>(&'a mut self, f: F) -> Uwhere
F: FnOnce(&'a mut Self) -> U,
fn piped_mut<'a, F, U>(&'a mut self, f: F) -> Uwhere
F: FnOnce(&'a mut Self) -> U,
piped, except that the function takes &mut Self.
Useful for functions that take &mut Self instead of Self.Source§fn mutated<F>(self, f: F) -> Self
fn mutated<F>(self, f: F) -> Self
Source§fn observe<F>(self, f: F) -> Self
fn observe<F>(self, f: F) -> Self
Source§fn as_ref_<T>(&self) -> &T
fn as_ref_<T>(&self) -> &T
AsRef,
using the turbofish .as_ref_::<_>() syntax. Read more