pub struct LedgerEntry {
pub node: String,
pub channel: Option<usize>,
pub depth: usize,
pub kind: SignalKind,
pub rms: f64,
pub peak: f64,
pub min: f64,
pub max: f64,
pub share: Option<f64>,
pub clipped: Option<bool>,
}Fields§
§node: String§channel: Option<usize>§depth: usize§kind: SignalKind§rms: f64§peak: f64§min: f64§max: f64The part of its reader’s own energy this node accounts for, so one reader’s refs add
to one over a sum. None for a non-audio kind, and for a ref no addend isolates.
clipped: Option<bool>A sample outside [-1, 1], the full scale a .wav destination clamps to, so a peak of
exactly 1.0 is not clipped.
Trait Implementations§
Source§impl Clone for LedgerEntry
impl Clone for LedgerEntry
Source§fn clone(&self) -> LedgerEntry
fn clone(&self) -> LedgerEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LedgerEntry
impl Debug for LedgerEntry
Source§impl PartialEq for LedgerEntry
impl PartialEq for LedgerEntry
impl StructuralPartialEq for LedgerEntry
Auto Trait Implementations§
impl Freeze for LedgerEntry
impl RefUnwindSafe for LedgerEntry
impl Send for LedgerEntry
impl Sync for LedgerEntry
impl Unpin for LedgerEntry
impl UnsafeUnpin for LedgerEntry
impl UnwindSafe for LedgerEntry
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