pub struct RhythmConfig {
pub enabled: bool,
}Expand description
Phase 1.2 reservation. 1.1 keeps enabled = false (rhythm collection is
out of 1.1 scope).
Fields§
§enabled: boolTrait Implementations§
Source§impl Clone for RhythmConfig
impl Clone for RhythmConfig
Source§fn clone(&self) -> RhythmConfig
fn clone(&self) -> RhythmConfig
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 moreSource§impl Debug for RhythmConfig
impl Debug for RhythmConfig
Source§impl Default for RhythmConfig
impl Default for RhythmConfig
Source§fn default() -> RhythmConfig
fn default() -> RhythmConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RhythmConfig
impl<'de> Deserialize<'de> for RhythmConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RhythmConfig
impl PartialEq for RhythmConfig
Source§fn eq(&self, other: &RhythmConfig) -> bool
fn eq(&self, other: &RhythmConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RhythmConfig
impl Serialize for RhythmConfig
impl StructuralPartialEq for RhythmConfig
Auto Trait Implementations§
impl Freeze for RhythmConfig
impl RefUnwindSafe for RhythmConfig
impl Send for RhythmConfig
impl Sync for RhythmConfig
impl Unpin for RhythmConfig
impl UnsafeUnpin for RhythmConfig
impl UnwindSafe for RhythmConfig
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