#[repr(C)]pub struct VirtualTranslateVtbl<'cglue_a, CGlueC: 'cglue_a + CGlueObjBase> { /* private fields */ }
Expand description
CGlue vtable for trait VirtualTranslate.
This virtual function table contains ABI-safe interface for the given trait.
Implementations§
source§impl<'cglue_a, CGlueC: CGlueObjBase> VirtualTranslateVtbl<'cglue_a, CGlueC>
impl<'cglue_a, CGlueC: CGlueObjBase> VirtualTranslateVtbl<'cglue_a, CGlueC>
sourcepub fn virt_to_phys_list(
&self
) -> unsafe extern "C" fn(cont: &mut CGlueC, addrs: CSliceRef<'_, VtopRange>, out: VirtualTranslationCallback<'_>, out_fail: VirtualTranslationFailCallback<'_>)
pub fn virt_to_phys_list( &self ) -> unsafe extern "C" fn(cont: &mut CGlueC, addrs: CSliceRef<'_, VtopRange>, out: VirtualTranslationCallback<'_>, out_fail: VirtualTranslationFailCallback<'_>)
Getter for virt_to_phys_list.
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 virt_to_phys_range(
&self
) -> unsafe extern "C" fn(cont: &mut CGlueC, start: Address, end: Address, out: VirtualTranslationCallback<'_>)
pub fn virt_to_phys_range( &self ) -> unsafe extern "C" fn(cont: &mut CGlueC, start: Address, end: Address, out: VirtualTranslationCallback<'_>)
Getter for virt_to_phys_range.
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 virt_translation_map_range(
&self
) -> unsafe extern "C" fn(cont: &mut CGlueC, start: Address, end: Address, out: VirtualTranslationCallback<'_>)
pub fn virt_translation_map_range( &self ) -> unsafe extern "C" fn(cont: &mut CGlueC, start: Address, end: Address, out: VirtualTranslationCallback<'_>)
Getter for virt_translation_map_range.
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 virt_page_map_range(
&self
) -> unsafe extern "C" fn(cont: &mut CGlueC, gap_size: imem, start: Address, end: Address, out: MemoryRangeCallback<'_>)
pub fn virt_page_map_range( &self ) -> unsafe extern "C" fn(cont: &mut CGlueC, gap_size: imem, start: Address, end: Address, out: MemoryRangeCallback<'_>)
Getter for virt_page_map_range.
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 virt_to_phys(
&self
) -> unsafe extern "C" fn(cont: &mut CGlueC, address: Address, ok_out: &mut MaybeUninit<PhysicalAddress>) -> i32
pub fn virt_to_phys( &self ) -> unsafe extern "C" fn(cont: &mut CGlueC, address: Address, ok_out: &mut MaybeUninit<PhysicalAddress>) -> i32
Getter for virt_to_phys.
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 virt_page_info(
&self
) -> unsafe extern "C" fn(cont: &mut CGlueC, addr: Address, ok_out: &mut MaybeUninit<Page>) -> i32
pub fn virt_page_info( &self ) -> unsafe extern "C" fn(cont: &mut CGlueC, addr: Address, ok_out: &mut MaybeUninit<Page>) -> i32
Getter for virt_page_info.
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 virt_translation_map(
&self
) -> unsafe extern "C" fn(cont: &mut CGlueC, out: VirtualTranslationCallback<'_>)
pub fn virt_translation_map( &self ) -> unsafe extern "C" fn(cont: &mut CGlueC, out: VirtualTranslationCallback<'_>)
Getter for virt_translation_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 phys_to_virt(
&self
) -> unsafe extern "C" fn(cont: &mut CGlueC, phys: Address) -> COption<Address>
pub fn phys_to_virt( &self ) -> unsafe extern "C" fn(cont: &mut CGlueC, phys: Address) -> COption<Address>
Getter for phys_to_virt.
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 virt_page_map(
&self
) -> unsafe extern "C" fn(cont: &mut CGlueC, gap_size: imem, out: MemoryRangeCallback<'_>)
pub fn virt_page_map( &self ) -> unsafe extern "C" fn(cont: &mut CGlueC, gap_size: imem, out: MemoryRangeCallback<'_>)
Getter for virt_page_map.
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: Opaquable + CGlueObjBase + 'cglue_a> CGlueBaseVtbl for VirtualTranslateVtbl<'cglue_a, CGlueC>where
CGlueC::OpaqueTarget: Opaquable + CGlueObjBase + GenericTypeBounds,
CGlueC::ObjType: VirtualTranslate,
VirtualTranslateVtbl<'cglue_a, CGlueC::OpaqueTarget>: StableAbi,
impl<'cglue_a, CGlueC: Opaquable + CGlueObjBase + 'cglue_a> CGlueBaseVtbl for VirtualTranslateVtbl<'cglue_a, CGlueC>where
CGlueC::OpaqueTarget: Opaquable + CGlueObjBase + GenericTypeBounds,
CGlueC::ObjType: VirtualTranslate,
VirtualTranslateVtbl<'cglue_a, CGlueC::OpaqueTarget>: StableAbi,
type OpaqueVtbl = VirtualTranslateVtbl<'cglue_a, <CGlueC as Opaquable>::OpaqueTarget>
type Context = <CGlueC as CGlueObjBase>::Context
type RetTmp = PhantomData<VirtualTranslateRetTmpPhantom<<CGlueC as CGlueObjBase>::Context>>
source§fn as_opaque(&self) -> &Self::OpaqueVtbl
fn as_opaque(&self) -> &Self::OpaqueVtbl
source§impl<'cglue_a, CGlueC: CGlueObjBase> CGlueVtblCont for VirtualTranslateVtbl<'cglue_a, CGlueC>
impl<'cglue_a, CGlueC: CGlueObjBase> CGlueVtblCont for VirtualTranslateVtbl<'cglue_a, CGlueC>
source§impl<'cglue_a, CGlueC, CGlueCtx: ContextBounds> Default for &'cglue_a VirtualTranslateVtbl<'cglue_a, CGlueC>where
CGlueC::ObjType: VirtualTranslate,
CGlueC: Opaquable + CGlueObjMut<VirtualTranslateRetTmp<CGlueCtx>, Context = CGlueCtx> + 'cglue_a,
CGlueC::OpaqueTarget: GenericTypeBounds,
VirtualTranslateVtbl<'cglue_a, CGlueC>: CGlueBaseVtbl,
impl<'cglue_a, CGlueC, CGlueCtx: ContextBounds> Default for &'cglue_a VirtualTranslateVtbl<'cglue_a, CGlueC>where
CGlueC::ObjType: VirtualTranslate,
CGlueC: Opaquable + CGlueObjMut<VirtualTranslateRetTmp<CGlueCtx>, Context = CGlueCtx> + 'cglue_a,
CGlueC::OpaqueTarget: GenericTypeBounds,
VirtualTranslateVtbl<'cglue_a, CGlueC>: CGlueBaseVtbl,
Default vtable reference creation.
source§impl<'cglue_a, CGlueC> GetStaticEquivalent_ for VirtualTranslateVtbl<'cglue_a, CGlueC>where
CGlueC: __StableAbi + 'cglue_a + CGlueObjBase,
impl<'cglue_a, CGlueC> GetStaticEquivalent_ for VirtualTranslateVtbl<'cglue_a, CGlueC>where
CGlueC: __StableAbi + 'cglue_a + CGlueObjBase,
type StaticEquivalent = _static_VirtualTranslateVtbl<'static, <CGlueC as GetStaticEquivalent_>::StaticEquivalent>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, IntoProcessInstanceContainer<CGlueInst, CGlueCtx>>> for IntoProcessInstanceFinalWithVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
IntoProcessInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, IntoProcessInstanceContainer<CGlueInst, CGlueCtx>>> for IntoProcessInstanceFinalWithVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
IntoProcessInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, IntoProcessInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, IntoProcessInstanceContainer<CGlueInst, CGlueCtx>>> for IntoProcessInstanceWithVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
IntoProcessInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, IntoProcessInstanceContainer<CGlueInst, CGlueCtx>>> for IntoProcessInstanceWithVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
IntoProcessInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, IntoProcessInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewOsKeyboardVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewOsKeyboardVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithMemoryViewVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithOsKeyboardVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithOsKeyboardVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceFinalWithVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewOsKeyboardVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewOsKeyboardVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithMemoryViewVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithOsKeyboardPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithOsKeyboardVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithOsKeyboardVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithPhysicalMemoryVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>> for OsInstanceWithVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
OsInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, OsInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, ProcessInstanceContainer<CGlueInst, CGlueCtx>>> for ProcessInstanceFinalWithVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
ProcessInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, ProcessInstanceContainer<CGlueInst, CGlueCtx>>> for ProcessInstanceFinalWithVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
ProcessInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, ProcessInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, ProcessInstanceContainer<CGlueInst, CGlueCtx>>> for ProcessInstanceWithVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
ProcessInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
impl<'cglue_a, CGlueInst, CGlueCtx: ContextBounds> GetVtbl<VirtualTranslateVtbl<'cglue_a, ProcessInstanceContainer<CGlueInst, CGlueCtx>>> for ProcessInstanceWithVirtualTranslate<'cglue_a, CGlueInst, CGlueCtx>where
ProcessInstanceContainer<CGlueInst, CGlueCtx>: CGlueObjBase,
fn get_vtbl( &self ) -> &VirtualTranslateVtbl<'cglue_a, ProcessInstanceContainer<CGlueInst, CGlueCtx>>
source§impl<'cglue_a, CGlueC> StableAbi for VirtualTranslateVtbl<'cglue_a, CGlueC>where
CGlueC: __StableAbi + 'cglue_a + CGlueObjBase,
impl<'cglue_a, CGlueC> StableAbi for VirtualTranslateVtbl<'cglue_a, CGlueC>where
CGlueC: __StableAbi + 'cglue_a + CGlueObjBase,
§type IsNonZeroType = False
type IsNonZeroType = False
source§const LAYOUT: &'static TypeLayout = _
const LAYOUT: &'static TypeLayout = _
source§const ABI_CONSTS: AbiConsts = _
const ABI_CONSTS: AbiConsts = _
const
-equivalents of the associated types.impl<'cglue_a, CGlueC, CGlueCtx: ContextBounds> CGlueVtbl<CGlueC> for VirtualTranslateVtbl<'cglue_a, CGlueC>where
CGlueC::OpaqueTarget: Opaquable + CGlueObjBase + GenericTypeBounds,
CGlueC: Opaquable + CGlueObjMut<VirtualTranslateRetTmp<CGlueCtx>, Context = CGlueCtx> + 'cglue_a,
CGlueC::ObjType: VirtualTranslate,
Auto Trait Implementations§
impl<'cglue_a, CGlueC> RefUnwindSafe for VirtualTranslateVtbl<'cglue_a, CGlueC>where
CGlueC: RefUnwindSafe,
impl<'cglue_a, CGlueC> Send for VirtualTranslateVtbl<'cglue_a, CGlueC>where
CGlueC: Sync,
impl<'cglue_a, CGlueC> Sync for VirtualTranslateVtbl<'cglue_a, CGlueC>where
CGlueC: Sync,
impl<'cglue_a, CGlueC> Unpin for VirtualTranslateVtbl<'cglue_a, CGlueC>
impl<'cglue_a, CGlueC> UnwindSafe for VirtualTranslateVtbl<'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
§type ForSelf = WithMetadata_<T, T>
type ForSelf = WithMetadata_<T, T>
WithMetadata_<Self, Self>
§impl<S> ROExtAcc for S
impl<S> ROExtAcc for S
§fn f_get<F>(&self, offset: FieldOffset<S, F, Aligned>) -> &F
fn f_get<F>(&self, offset: FieldOffset<S, F, Aligned>) -> &F
offset
. Read more§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 more§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 more§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 more§impl<S> ROExtOps<Aligned> for S
impl<S> ROExtOps<Aligned> for S
§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 more§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,
§impl<S> ROExtOps<Unaligned> for S
impl<S> ROExtOps<Unaligned> for S
§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 more§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,
§impl<T> SelfOps for Twhere
T: ?Sized,
impl<T> SelfOps for Twhere
T: ?Sized,
§fn piped<F, U>(self, f: F) -> U
fn piped<F, U>(self, f: F) -> U
§fn piped_ref<'a, F, U>(&'a self, f: F) -> U
fn piped_ref<'a, F, U>(&'a self, f: F) -> U
piped
except that the function takes &Self
Useful for functions that take &Self
instead of Self
. Read more§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
.§fn mutated<F>(self, f: F) -> Self
fn mutated<F>(self, f: F) -> Self
§fn observe<F>(self, f: F) -> Self
fn observe<F>(self, f: F) -> Self
§fn as_ref_<T>(&self) -> &T
fn as_ref_<T>(&self) -> &T
AsRef
,
using the turbofish .as_ref_::<_>()
syntax. Read more