#[repr(transparent)]pub struct Softcycles(pub u32);Expand description
Soft mute settings
Tuple Fields§
§0: u32Implementations§
Source§impl Softcycles
impl Softcycles
Sourcepub const fn disable(&self) -> SoftcyclesDisable
pub const fn disable(&self) -> SoftcyclesDisable
Soft mute settings: amount of cycles for transition
Sourcepub const fn set_disable(&mut self, val: SoftcyclesDisable)
pub const fn set_disable(&mut self, val: SoftcyclesDisable)
Soft mute settings: amount of cycles for transition
Trait Implementations§
Source§impl Clone for Softcycles
impl Clone for Softcycles
Source§fn clone(&self) -> Softcycles
fn clone(&self) -> Softcycles
Returns a copy 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 Softcycles
impl Debug for Softcycles
Source§impl Default for Softcycles
impl Default for Softcycles
Source§fn default() -> Softcycles
fn default() -> Softcycles
Returns the “default value” for a type. Read more
Source§impl PartialEq for Softcycles
impl PartialEq for Softcycles
impl Copy for Softcycles
impl Eq for Softcycles
impl StructuralPartialEq for Softcycles
Auto Trait Implementations§
impl Freeze for Softcycles
impl RefUnwindSafe for Softcycles
impl Send for Softcycles
impl Sync for Softcycles
impl Unpin for Softcycles
impl UnwindSafe for Softcycles
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)