Struct qua_format::CustomAudioSampleInfo
source · [−]Expand description
Custom audio samples that can be assigned to different hit objects
Fields
path: StringThe path to the audio sample.
unaffected_by_rate: boolIf true, the audio sample is always played back at 1.0x speed, regardless of the rate.
Trait Implementations
sourceimpl Clone for CustomAudioSampleInfo
impl Clone for CustomAudioSampleInfo
sourcefn clone(&self) -> CustomAudioSampleInfo
fn clone(&self) -> CustomAudioSampleInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for CustomAudioSampleInfo
impl Default for CustomAudioSampleInfo
sourceimpl<'de> Deserialize<'de> for CustomAudioSampleInfo where
CustomAudioSampleInfo: Default,
impl<'de> Deserialize<'de> for CustomAudioSampleInfo where
CustomAudioSampleInfo: Default,
sourcefn 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
sourceimpl PartialEq<CustomAudioSampleInfo> for CustomAudioSampleInfo
impl PartialEq<CustomAudioSampleInfo> for CustomAudioSampleInfo
sourcefn eq(&self, other: &CustomAudioSampleInfo) -> bool
fn eq(&self, other: &CustomAudioSampleInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CustomAudioSampleInfo) -> bool
fn ne(&self, other: &CustomAudioSampleInfo) -> bool
This method tests for !=.
sourceimpl Serialize for CustomAudioSampleInfo
impl Serialize for CustomAudioSampleInfo
impl StructuralPartialEq for CustomAudioSampleInfo
Auto Trait Implementations
impl RefUnwindSafe for CustomAudioSampleInfo
impl Send for CustomAudioSampleInfo
impl Sync for CustomAudioSampleInfo
impl Unpin for CustomAudioSampleInfo
impl UnwindSafe for CustomAudioSampleInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more