pub struct CeltEnergy {
pub bands: [f32; 21],
}Expand description
Per-band log-domain energy for a CELT frame.
All 21 CELT bands are tracked. Energy values are in the log domain (natural logarithm of linear energy) as used internally by CELT.
Fields§
§bands: [f32; 21]Per-band energy values (log domain), indexed 0..21.
Implementations§
Trait Implementations§
Source§impl Clone for CeltEnergy
impl Clone for CeltEnergy
Source§fn clone(&self) -> CeltEnergy
fn clone(&self) -> CeltEnergy
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 moreAuto Trait Implementations§
impl Freeze for CeltEnergy
impl RefUnwindSafe for CeltEnergy
impl Send for CeltEnergy
impl Sync for CeltEnergy
impl Unpin for CeltEnergy
impl UnsafeUnpin for CeltEnergy
impl UnwindSafe for CeltEnergy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more