Struct bms_rs::parse::obj::Obj [−][src]
pub struct Obj {
pub offset: ObjTime,
pub kind: NoteKind,
pub is_player1: bool,
pub key: Key,
pub obj: ObjId,
}
Expand description
An object on the score.
Fields
offset: ObjTime
The time offset in the track.
kind: NoteKind
THe note kind of the the object.
is_player1: bool
Whether the note is for player 1.
key: Key
The key, or lane, where the object is placed.
obj: ObjId
The id of the object.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Obj
impl UnwindSafe for Obj
Blanket Implementations
Mutably borrows from an owned value. Read more