pub struct ComposerOptions {
pub ticks_per_beat: i32,
}
Expand description
Options used by a Composer
.
Fields§
§ticks_per_beat: i32
The number of ticks per beat.
Trait Implementations§
Source§impl Clone for ComposerOptions
impl Clone for ComposerOptions
Source§fn clone(&self) -> ComposerOptions
fn clone(&self) -> ComposerOptions
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 ComposerOptions
impl Debug for ComposerOptions
Source§impl Default for ComposerOptions
impl Default for ComposerOptions
Source§fn default() -> ComposerOptions
fn default() -> ComposerOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComposerOptions
impl<'de> Deserialize<'de> for ComposerOptions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComposerOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComposerOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ComposerOptions> for CompositionOptions
impl From<ComposerOptions> for CompositionOptions
Source§fn from(value: ComposerOptions) -> CompositionOptions
fn from(value: ComposerOptions) -> CompositionOptions
Converts to this type from the input type.
Source§impl PartialEq for ComposerOptions
impl PartialEq for ComposerOptions
Source§impl Serialize for ComposerOptions
impl Serialize for ComposerOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for ComposerOptions
impl Eq for ComposerOptions
impl StructuralPartialEq for ComposerOptions
Auto Trait Implementations§
impl Freeze for ComposerOptions
impl RefUnwindSafe for ComposerOptions
impl Send for ComposerOptions
impl Sync for ComposerOptions
impl Unpin for ComposerOptions
impl UnwindSafe for ComposerOptions
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