pub struct MeterConfig {
pub floor_db: f32,
pub fall_per_sec: f32,
}Expand description
メーターの設定。
Fields§
§floor_db: f32下限(dB、負の値)。これより小さい音は位置 0 に置く。
fall_per_sec: f321 秒あたりの落ちる量(フルスケールに対する割合)。
Trait Implementations§
Source§impl Clone for MeterConfig
impl Clone for MeterConfig
impl Copy for MeterConfig
Source§impl Debug for MeterConfig
impl Debug for MeterConfig
Source§impl Default for MeterConfig
impl Default for MeterConfig
Source§impl PartialEq for MeterConfig
impl PartialEq for MeterConfig
impl StructuralPartialEq for MeterConfig
Auto Trait Implementations§
impl Forget for MeterConfig
impl Freeze for MeterConfig
impl Move for MeterConfig
impl RefUnwindSafe for MeterConfig
impl Send for MeterConfig
impl Sync for MeterConfig
impl Unpin for MeterConfig
impl UnsafeUnpin for MeterConfig
impl UnwindSafe for MeterConfig
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