pub struct EqualizerBandState {
pub id: u64,
pub type_: Option<EqualizerBandType>,
pub frequency: Option<u32>,
pub q: Option<f32>,
pub gain_db: Option<f32>,
pub enabled: Option<bool>,
}Fields§
§id: u64§type_: Option<EqualizerBandType>§frequency: Option<u32>§q: Option<f32>§gain_db: Option<f32>§enabled: Option<bool>Trait Implementations§
Source§impl Clone for EqualizerBandState
impl Clone for EqualizerBandState
Source§fn clone(&self) -> EqualizerBandState
fn clone(&self) -> EqualizerBandState
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 EqualizerBandState
impl Debug for EqualizerBandState
Source§impl From<EqualizerBandState> for EqualizerBandState
impl From<EqualizerBandState> for EqualizerBandState
Source§fn from(value: EqualizerBandState) -> Self
fn from(value: EqualizerBandState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EqualizerBandState
impl PartialEq for EqualizerBandState
Source§impl TryFrom<EqualizerBandState> for EqualizerBandState
impl TryFrom<EqualizerBandState> for EqualizerBandState
impl StructuralPartialEq for EqualizerBandState
Auto Trait Implementations§
impl Freeze for EqualizerBandState
impl RefUnwindSafe for EqualizerBandState
impl Send for EqualizerBandState
impl Sync for EqualizerBandState
impl Unpin for EqualizerBandState
impl UnwindSafe for EqualizerBandState
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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