pub struct OutputState {
pub finished: bool,
pub score: u32,
pub current_combo: u32,
pub max_combo: u32,
pub gauge: f64,
pub judgement: Option<Judgement>,
pub display: Vec<CalculatedNote>,
}Fields§
§finished: boolIf the game is finished. (All notes are passed)
score: u32The current score of the player.
current_combo: u32The current combo of the player.
max_combo: u32The maximum combo of the player.
gauge: f64The current soul gauge of the player.
judgement: Option<Judgement>The judgement of the hit in the last frame.
display: Vec<CalculatedNote>Display state
Trait Implementations§
Source§impl Clone for OutputState
impl Clone for OutputState
Source§fn clone(&self) -> OutputState
fn clone(&self) -> OutputState
Returns a duplicate 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 OutputState
impl Debug for OutputState
Source§impl PartialEq for OutputState
impl PartialEq for OutputState
Source§impl PartialOrd for OutputState
impl PartialOrd for OutputState
impl StructuralPartialEq for OutputState
Auto Trait Implementations§
impl Freeze for OutputState
impl RefUnwindSafe for OutputState
impl Send for OutputState
impl Sync for OutputState
impl Unpin for OutputState
impl UnwindSafe for OutputState
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