Struct Softcycles
#[repr(transparent)]pub struct Softcycles(pub u32);Expand description
Soft mute settings.
Tuple Fields§
§0: u32Implementations§
§impl Softcycles
impl Softcycles
pub const fn disable(&self) -> SoftcyclesDisable
pub const fn disable(&self) -> SoftcyclesDisable
Soft mute settings: amount of cycles for transition.
pub 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§
§impl Clone for Softcycles
impl Clone for Softcycles
§fn clone(&self) -> Softcycles
fn clone(&self) -> Softcycles
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 moreimpl Copy for Softcycles
§impl Debug for Softcycles
impl Debug for Softcycles
§impl Default for Softcycles
impl Default for Softcycles
§fn default() -> Softcycles
fn default() -> Softcycles
Returns the “default value” for a type. Read more
impl Eq for Softcycles
§impl PartialEq for Softcycles
impl PartialEq 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 UnsafeUnpin 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