#[repr(C)]pub struct LV2UI_Peak_Data {
pub period_start: u32,
pub period_size: u32,
pub peak: f32,
}Expand description
Peak data for a slice of time, the update format for ui:peakProtocol.
Fields§
§period_start: u32The 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: u32The size of the measurement period, in the same units as period_start.
peak: f32The peak value for the measurement period. This should be the maximal value for abs(sample) over all the samples in the period.
Trait Implementations§
Source§impl Clone for LV2UI_Peak_Data
impl Clone for LV2UI_Peak_Data
Source§fn clone(&self) -> LV2UI_Peak_Data
fn clone(&self) -> LV2UI_Peak_Data
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LV2UI_Peak_Data
impl Debug for LV2UI_Peak_Data
impl Copy for LV2UI_Peak_Data
Auto Trait Implementations§
impl Freeze for LV2UI_Peak_Data
impl RefUnwindSafe for LV2UI_Peak_Data
impl Send for LV2UI_Peak_Data
impl Sync for LV2UI_Peak_Data
impl Unpin for LV2UI_Peak_Data
impl UnwindSafe for LV2UI_Peak_Data
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more