pub struct FrameNumber(pub usize);
Expand description
Represents the frame number.
Tuple Fields§
§0: usize
Trait Implementations§
Source§impl Clone for FrameNumber
impl Clone for FrameNumber
Source§fn clone(&self) -> FrameNumber
fn clone(&self) -> FrameNumber
Returns a copy 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 FrameNumber
impl Debug for FrameNumber
Source§impl Default for FrameNumber
impl Default for FrameNumber
Source§fn default() -> FrameNumber
fn default() -> FrameNumber
Returns the “default value” for a type. Read more
Source§impl Deref for FrameNumber
impl Deref for FrameNumber
Source§impl DerefMut for FrameNumber
impl DerefMut for FrameNumber
Source§impl Display for FrameNumber
impl Display for FrameNumber
Source§impl FromStr for FrameNumber
impl FromStr for FrameNumber
Source§type Err = ParseIntError
type Err = ParseIntError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<FrameNumber, ParseIntError>
fn from_str(s: &str) -> Result<FrameNumber, ParseIntError>
Parses a string
s
to return a value of this type. Read moreSource§impl Ord for FrameNumber
impl Ord for FrameNumber
Source§fn cmp(&self, other: &FrameNumber) -> Ordering
fn cmp(&self, other: &FrameNumber) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FrameNumber
impl PartialEq for FrameNumber
Source§impl PartialOrd for FrameNumber
impl PartialOrd for FrameNumber
impl Copy for FrameNumber
impl Eq for FrameNumber
impl StructuralPartialEq for FrameNumber
Auto Trait Implementations§
impl Freeze for FrameNumber
impl RefUnwindSafe for FrameNumber
impl Send for FrameNumber
impl Sync for FrameNumber
impl Unpin for FrameNumber
impl UnwindSafe for FrameNumber
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