[][src]Struct lv2_sys::LV2UI_Peak_Data

#[repr(C)]pub struct LV2UI_Peak_Data {
    pub period_start: u32,
    pub period_size: u32,
    pub peak: f32,
}

Peak data for a slice of time, the update format for ui:peakProtocol.

Fields

period_start: u32

The start of the measurement period. This is just a running counter that is only meaningful in comparison to previous values and must not be interpreted as an absolute time.

period_size: u32

The size of the measurement period, in the same units as period_start.

peak: f32

The peak value for the measurement period. This should be the maximal value for abs(sample) over all the samples in the period.

Trait Implementations

impl Clone for LV2UI_Peak_Data[src]

impl Copy for LV2UI_Peak_Data[src]

impl Debug for LV2UI_Peak_Data[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.