Struct rosu_pp::model::hit_object::HitSoundType
source · pub struct HitSoundType(/* private fields */);
Expand description
The type of a hit sample.
Implementations§
Trait Implementations§
source§impl BitAnd<u8> for HitSoundType
impl BitAnd<u8> for HitSoundType
source§impl BitAndAssign<u8> for HitSoundType
impl BitAndAssign<u8> for HitSoundType
source§fn bitand_assign(&mut self, rhs: u8)
fn bitand_assign(&mut self, rhs: u8)
Performs the
&=
operation. Read moresource§impl Clone for HitSoundType
impl Clone for HitSoundType
source§fn clone(&self) -> HitSoundType
fn clone(&self) -> HitSoundType
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 HitSoundType
impl Debug for HitSoundType
source§impl Default for HitSoundType
impl Default for HitSoundType
source§fn default() -> HitSoundType
fn default() -> HitSoundType
Returns the “default value” for a type. Read more
source§impl From<&[HitSampleInfo]> for HitSoundType
impl From<&[HitSampleInfo]> for HitSoundType
source§fn from(samples: &[HitSampleInfo]) -> HitSoundType
fn from(samples: &[HitSampleInfo]) -> HitSoundType
Converts to this type from the input type.
source§impl From<u8> for HitSoundType
impl From<u8> for HitSoundType
source§fn from(hit_sound_type: u8) -> HitSoundType
fn from(hit_sound_type: u8) -> HitSoundType
Converts to this type from the input type.
source§impl FromStr for HitSoundType
impl FromStr for HitSoundType
§type Err = ParseHitSoundTypeError
type Err = ParseHitSoundTypeError
The associated error which can be returned from parsing.
source§fn from_str(s: &str) -> Result<HitSoundType, <HitSoundType as FromStr>::Err>
fn from_str(s: &str) -> Result<HitSoundType, <HitSoundType as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moresource§impl PartialEq<u8> for HitSoundType
impl PartialEq<u8> for HitSoundType
source§impl PartialEq for HitSoundType
impl PartialEq for HitSoundType
source§fn eq(&self, other: &HitSoundType) -> bool
fn eq(&self, other: &HitSoundType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HitSoundType
impl Eq for HitSoundType
impl StructuralPartialEq for HitSoundType
Auto Trait Implementations§
impl Freeze for HitSoundType
impl RefUnwindSafe for HitSoundType
impl Send for HitSoundType
impl Sync for HitSoundType
impl Unpin for HitSoundType
impl UnwindSafe for HitSoundType
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