[][src]Struct fm_plugin::ffi::calc_engine::ExternalFunction

pub struct ExternalFunction {
    pub id: i16,
    pub name: &'static str,
    pub definition: &'static str,
    pub description: &'static str,
    pub min_args: i16,
    pub max_args: i16,
    pub compatible_flags: u32,
    pub min_version: ExternVersion,
    pub function_ptr: fmx_ExtPluginType,
}

Fields

id: i16name: &'static strdefinition: &'static strdescription: &'static strmin_args: i16max_args: i16compatible_flags: u32min_version: ExternVersionfunction_ptr: fmx_ExtPluginType

Implementations

impl ExternalFunction[src]

pub fn new(
    id: i16,
    name: &'static str,
    definition: &'static str,
    description: &'static str,
    min_args: i16,
    max_args: i16,
    compatible_flags: u32,
    min_version: ExternVersion,
    function_ptr: fmx_ExtPluginType
) -> Self
[src]

pub fn register(&self, plugin_id: &QuadChar) -> FMError[src]

pub fn unregister(&self, plugin_id: &QuadChar)[src]

Trait Implementations

impl Clone for ExternalFunction[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> 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.