[][src]Struct wavetable::wt_manager::WtInfo

pub struct WtInfo {
    pub id: usize,
    pub valid: bool,
    pub name: String,
    pub filename: String,
}

Identifies a wavetable.

The ID is an internal identifier used for referencing the table. The valid flag is set to true if the wavetable was initialized successfully, false otherwise. The name is a string that can be displayed to the user. It is usually the filename without the path. The filename is the full patch to the wave file

Fields

id: usizevalid: boolname: Stringfilename: String

Trait Implementations

impl Clone for WtInfo[src]

impl Debug for WtInfo[src]

impl<'de> Deserialize<'de> for WtInfo[src]

impl Serialize for WtInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for WtInfo

impl Send for WtInfo

impl Sync for WtInfo

impl Unpin for WtInfo

impl UnwindSafe for WtInfo

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.