[−][src]Struct sm_ext::IPluginContext
Methods
impl IPluginContext
[src]
pub fn local_to_phys_addr(&self, local: cell_t) -> Result<&mut cell_t, SPError>
[src]
pub fn local_to_string(&self, local: cell_t) -> Result<&CStr, SPError>
[src]
pub fn throw_native_error(&self, err: String) -> cell_t
[src]
pub fn get_function_by_id(
&self,
func_id: u32
) -> Result<IPluginFunction, GetFunctionError>
[src]
&self,
func_id: u32
) -> Result<IPluginFunction, GetFunctionError>
pub fn get_identity(&self) -> IdentityTokenPtr
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IPluginContext
impl !Send for IPluginContext
impl !Sync for IPluginContext
impl Unpin for IPluginContext
impl UnwindSafe for IPluginContext
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<'_, T, U> TryFromPlugin<'_, T> for U where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
fn try_from_plugin(
&IPluginContext,
T
) -> Result<U, <U as TryFromPlugin<'_, T>>::Error>
[src]
&IPluginContext,
T
) -> Result<U, <U as TryFromPlugin<'_, T>>::Error>
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<'ctx, T, U> TryIntoPlugin<'ctx, U> for T where
U: TryFromPlugin<'ctx, T>,
[src]
U: TryFromPlugin<'ctx, T>,
type Error = <U as TryFromPlugin<'ctx, T>>::Error
fn try_into_plugin(
Self,
&'ctx IPluginContext
) -> Result<U, <U as TryFromPlugin<'ctx, T>>::Error>
[src]
Self,
&'ctx IPluginContext
) -> Result<U, <U as TryFromPlugin<'ctx, T>>::Error>