Struct etternaonline_api::v1::ReplayNote[][src]

pub struct ReplayNote {
    pub time: f32,
    pub hit: Hit,
    pub lane: Option<u8>,
    pub note_type: Option<NoteType>,
    pub tick: Option<u32>,
}

A singular note, used inside Replay

Fields

time: f32

The position of the note inside the chart, in seconds. Note: EO returns slightly incorrect values here!

hit: Hit

The offset that the note was hit with

lane: Option<u8>

The lane/column that this note appears on. 0-3 for 4k, 0-5 for 6k. None if not provided by EO

note_type: Option<NoteType>

Type of the note (tap, hold, mine etc.). None if not provided by EO

tick: Option<u32>

The position of the note inside the chart, in ticks (192nds). None if not provided by EO

Trait Implementations

impl Clone for ReplayNote[src]

impl Debug for ReplayNote[src]

impl PartialEq<ReplayNote> for ReplayNote[src]

impl StructuralPartialEq for ReplayNote[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.