pub struct Editor {
pub bookmarks: Option<Bookmarks>,
pub distance_spacing: Option<DistanceSpacing>,
pub beat_divisor: Option<BeatDivisor>,
pub grid_size: Option<GridSize>,
pub timeline_zoom: Option<TimelineZoom>,
pub current_time: Option<CurrentTime>,
}
Expand description
A struct representing the editor section of the .osu file.
Fields
bookmarks: Option<Bookmarks>
Time in milliseconds of bookmarks.
distance_spacing: Option<DistanceSpacing>
Distance snap multiplier.
beat_divisor: Option<BeatDivisor>
Beat snap divisor.
grid_size: Option<GridSize>
Grid size.
timeline_zoom: Option<TimelineZoom>
Scale factor for the objecct timeline.
current_time: Option<CurrentTime>
Deprecated.
Implementations
Trait Implementations
sourceimpl PartialEq<Editor> for Editor
impl PartialEq<Editor> for Editor
impl Eq for Editor
impl StructuralEq for Editor
impl StructuralPartialEq for Editor
Auto Trait Implementations
impl RefUnwindSafe for Editor
impl Send for Editor
impl Sync for Editor
impl Unpin for Editor
impl UnwindSafe for Editor
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