[][src]Struct fpsdk::plugin::Info

#[repr(C)]pub struct Info {
    pub sdk_version: u32,
    pub long_name: *mut c_char,
    pub short_name: *mut c_char,
    pub num_params: u32,
    pub def_poly: u32,
    pub num_out_ctrls: u32,
    pub num_out_voices: u32,
    // some fields omitted
}

This structure holds some information about the plugin that is used by the host. It is the same for all instances of the same plugin.

It's not supposed to be used directly, instantiate it using InfoBuilder.

Fields

sdk_version: u32

This has to be the version of the SDK used to create the plugin. This value is available in the constant CurrentSDKVersion

long_name: *mut c_char

The name of the plugin dll, without the extension (.dll)

short_name: *mut c_char

Short plugin name, to be used in labels to tell the user which plugin he is working with

num_params: u32

The number of parameters for this plugin

def_poly: u32

Preferred (default) maximum polyphony (FL Studio manages the polyphony) (0=infinite)

num_out_ctrls: u32

Number of internal output controllers

num_out_voices: u32

Number of internal output voices

Trait Implementations

impl Debug for Info[src]

Auto Trait Implementations

impl RefUnwindSafe for Info

impl !Send for Info

impl !Sync for Info

impl Unpin for Info

impl UnwindSafe for Info

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