pub struct BeatmapState {
pub version: i32,
pub editor: EditorState,
pub metadata: MetadataState,
pub colors: ColorsState,
pub hit_objects: HitObjectsState,
}Expand description
The parsing state for Beatmap in DecodeBeatmap.
Fields§
§version: i32§editor: EditorState§metadata: MetadataState§colors: ColorsState§hit_objects: HitObjectsStateTrait Implementations§
Source§impl DecodeState for BeatmapState
impl DecodeState for BeatmapState
Source§impl From<BeatmapState> for Beatmap
impl From<BeatmapState> for Beatmap
Source§fn from(state: BeatmapState) -> Self
fn from(state: BeatmapState) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BeatmapState
impl RefUnwindSafe for BeatmapState
impl !Send for BeatmapState
impl !Sync for BeatmapState
impl Unpin for BeatmapState
impl UnwindSafe for BeatmapState
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