pub struct MapDifficltyCharacteristic {
pub duration: f32,
pub length: usize,
pub njs: f32,
pub njs_offset: f32,
pub bombs: usize,
pub notes: usize,
pub obstacles: usize,
}Expand description
Characteristics of a map difficulty level
Fields§
§duration: f32Duration of the difficulty beatmap
length: usizeTODO: What does this represent?
njs: f32TODO: What does this represent?
njs_offset: f32TODO: What does this represent?
bombs: usizeNumber of bombs in the difficulty beatmap
notes: usizeNumber of notes in the difficulty beatmap
obstacles: usizeNumber of walls in the difficulty beatmap
Trait Implementations§
Source§impl Clone for MapDifficltyCharacteristic
impl Clone for MapDifficltyCharacteristic
Source§fn clone(&self) -> MapDifficltyCharacteristic
fn clone(&self) -> MapDifficltyCharacteristic
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 MapDifficltyCharacteristic
impl Debug for MapDifficltyCharacteristic
Source§impl<'de> Deserialize<'de> for MapDifficltyCharacteristic
impl<'de> Deserialize<'de> for MapDifficltyCharacteristic
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
impl StructuralPartialEq for MapDifficltyCharacteristic
Auto Trait Implementations§
impl Freeze for MapDifficltyCharacteristic
impl RefUnwindSafe for MapDifficltyCharacteristic
impl Send for MapDifficltyCharacteristic
impl Sync for MapDifficltyCharacteristic
impl Unpin for MapDifficltyCharacteristic
impl UnsafeUnpin for MapDifficltyCharacteristic
impl UnwindSafe for MapDifficltyCharacteristic
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