[][src]Struct sm_ext::IShareSys

pub struct IShareSys(pub IShareSysPtr);

Methods

impl IShareSys[src]

pub fn request_interface<I: RequestableInterface>(
    &self,
    myself: &IExtension
) -> Result<I, RequestInterfaceError>
[src]

pub fn request_raw_interface(
    &self,
    myself: &IExtension,
    name: &str,
    version: u32
) -> Result<SMInterface, RequestInterfaceError>
[src]

pub unsafe fn add_natives(
    &self,
    myself: &IExtension,
    natives: *const NativeInfo
)
[src]

Safety

This should be be used via the register_natives! macro only.

Trait Implementations

impl Debug for IShareSys[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<'_, T, U> TryFromPlugin<'_, T> for U where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<'a, T, U> TryIntoPlugin<'a, U> for T where
    U: TryFromPlugin<'a, T>, 
[src]

type Error = <U as TryFromPlugin<'a, T>>::Error