Struct sensehat::Fps [−][src]
pub struct Fps(pub u8);
A measure of frames per second.
Trait Implementations
impl Debug for Fps
[src]
impl Debug for Fps
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Fps
[src]
impl Copy for Fps
impl Clone for Fps
[src]
impl Clone for Fps
fn clone(&self) -> Fps
[src]
fn clone(&self) -> Fps
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Fps
[src]
impl PartialEq for Fps
fn eq(&self, other: &Fps) -> bool
[src]
fn eq(&self, other: &Fps) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Fps) -> bool
[src]
fn ne(&self, other: &Fps) -> bool
This method tests for !=
.
impl<'a> Into<Duration> for Fps
[src]
impl<'a> Into<Duration> for Fps