[−][src]Struct sm_ext::IShareSys
Methods
impl IShareSys
[src]
pub fn request_interface<I: RequestableInterface>(
&self,
myself: &IExtension
) -> Result<I, RequestInterfaceError>
[src]
&self,
myself: &IExtension
) -> Result<I, RequestInterfaceError>
pub fn request_raw_interface(
&self,
myself: &IExtension,
name: &str,
version: u32
) -> Result<SMInterface, RequestInterfaceError>
[src]
&self,
myself: &IExtension,
name: &str,
version: u32
) -> Result<SMInterface, RequestInterfaceError>
pub unsafe fn add_natives(
&self,
myself: &IExtension,
natives: *const NativeInfo
)
[src]
&self,
myself: &IExtension,
natives: *const NativeInfo
)
Safety
This should be be used via the register_natives!
macro only.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IShareSys
impl !Send for IShareSys
impl !Sync for IShareSys
impl Unpin for IShareSys
impl UnwindSafe for IShareSys
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>