Struct libosu::timing::TimingPoint [−][src]
A timing point, which represents configuration settings for a timing section.
This is a generic timing point struct representing both inherited and uninherited timing
points, distinguished by the kind
field.
Fields
time: Millis
The timestamp of this timing point, represented as a TimeLocation
.
kiai: bool
Whether or not Kiai time should be on for this timing point.
sample_set: SampleSet
The sample set associated with this timing section.
sample_index: u32
Index (if using a custom sample)
volume: u16
Volume of this timing section.
kind: TimingPointKind
The type of this timing point. See TimingPointKind
.
Trait Implementations
impl Clone for TimingPoint
[src]
fn clone(&self) -> TimingPoint
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TimingPoint
[src]
impl<'de> Deserialize<'de> for TimingPoint
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for TimingPoint
[src]
impl Eq for TimingPoint
[src]
impl FromStr for TimingPoint
[src]
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(input: &str) -> Result<TimingPoint, Self::Err>
[src]
impl Ord for TimingPoint
[src]
fn cmp(&self, other: &TimingPoint) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<TimingPoint> for TimingPoint
[src]
fn eq(&self, other: &TimingPoint) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<TimingPoint> for TimingPoint
[src]
fn partial_cmp(&self, other: &TimingPoint) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for TimingPoint
[src]
Auto Trait Implementations
impl RefUnwindSafe for TimingPoint
[src]
impl Send for TimingPoint
[src]
impl Sync for TimingPoint
[src]
impl Unpin for TimingPoint
[src]
impl UnwindSafe for TimingPoint
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,