Trait emf_core_base_rs::extensions::unwind_internal::UnwindInternalAPI [−][src]
pub trait UnwindInternalAPI<'interface> { fn from_interface(
interface: &impl SysAPIMin<'interface> + CBaseInterfaceInfo
) -> Self; fn to_interface(&self) -> NonNullConst<UnwindInternalInterface>; fn get_context(
&self,
interface: &impl CBaseAPI<'interface>
) -> Option<UnwindInternalContextRef>; fn set_context(
&mut self,
interface: &mut impl CBaseAPI<'interface>,
context: Option<UnwindInternalContextRef>
); }
API of the unwind_internal
interface.
Required methods
fn from_interface(
interface: &impl SysAPIMin<'interface> + CBaseInterfaceInfo
) -> Self
[src]
interface: &impl SysAPIMin<'interface> + CBaseInterfaceInfo
) -> Self
Fetches the unwind_internal
interface from the main interface.
fn to_interface(&self) -> NonNullConst<UnwindInternalInterface>
[src]
Retrieves a pointer to the native interface.
fn get_context(
&self,
interface: &impl CBaseAPI<'interface>
) -> Option<UnwindInternalContextRef>
[src]
&self,
interface: &impl CBaseAPI<'interface>
) -> Option<UnwindInternalContextRef>
fn set_context(
&mut self,
interface: &mut impl CBaseAPI<'interface>,
context: Option<UnwindInternalContextRef>
)
[src]
&mut self,
interface: &mut impl CBaseAPI<'interface>,
context: Option<UnwindInternalContextRef>
)
Sets the new active context.
Implementors
impl<'interface> UnwindInternalAPI<'interface> for UnwindInternalInterface<'interface>
[src]
impl<'interface> UnwindInternalAPI<'interface> for UnwindInternalInterface<'interface>
[src]fn from_interface(
interface: &impl SysAPIMin<'interface> + CBaseInterfaceInfo
) -> Self
[src]
interface: &impl SysAPIMin<'interface> + CBaseInterfaceInfo
) -> Self
fn to_interface(&self) -> NonNullConst<UnwindInternalInterface>
[src]
fn get_context(
&self,
interface: &impl CBaseAPI<'interface>
) -> Option<UnwindInternalContextRef>
[src]
&self,
interface: &impl CBaseAPI<'interface>
) -> Option<UnwindInternalContextRef>
fn set_context(
&mut self,
interface: &mut impl CBaseAPI<'interface>,
context: Option<UnwindInternalContextRef>
)
[src]
&mut self,
interface: &mut impl CBaseAPI<'interface>,
context: Option<UnwindInternalContextRef>
)