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]

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]

Fetches the active context.

Return

Active context.

fn set_context(
    &mut self,
    interface: &mut impl CBaseAPI<'interface>,
    context: Option<UnwindInternalContextRef>
)
[src]

Sets the new active context.

Loading content...

Implementors

impl<'interface> UnwindInternalAPI<'interface> for UnwindInternalInterface<'interface>[src]

Loading content...