pub enum Fps {
Fps24,
Fps25,
Fps29,
Fps30,
}Expand description
One of the four FPS values available for SMPTE times, as defined by the MIDI standard.
Variants§
Fps24
24 frames per second.
Fps25
25 frames per second.
Fps29
Actually 29.97 = 30 / 1.001 frames per second.
Quite an exotic value because of interesting historical reasons.
Fps30
30 frames per second.
Implementations§
Trait Implementations§
impl Copy for Fps
impl Eq for Fps
impl StructuralPartialEq for Fps
Auto Trait Implementations§
impl Freeze for Fps
impl RefUnwindSafe for Fps
impl Send for Fps
impl Sync for Fps
impl Unpin for Fps
impl UnwindSafe for Fps
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more