[][src]Struct libxm_soundboard::Position

pub struct Position {
    pub pattern_index: u8,
    pub pattern: u8,
    pub row: u8,
    pub samples: u64,
}

The return values from XMContext::get_position().

Fields

pattern_index: u8

Pattern index in the POT (pattern order table)

pattern: u8

Pattern number

row: u8

Row number

samples: u64

Total number of generated samples

Trait Implementations

impl Clone for Position[src]

impl Copy for Position[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.