Struct sfnt::Timestamp [−][src]
pub struct Timestamp(pub i64);
A number of seconds that have elapsed since 1904-01-01T00:00:00Z
.
Trait Implementations
impl Copy for Timestamp
[src]
impl Copy for Timestamp
impl Clone for Timestamp
[src]
impl Clone for Timestamp
fn clone(&self) -> Timestamp
[src]
fn clone(&self) -> Timestamp
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 Debug for Timestamp
[src]
impl Debug for Timestamp
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 PartialEq for Timestamp
[src]
impl PartialEq for Timestamp
fn eq(&self, other: &Timestamp) -> bool
[src]
fn eq(&self, other: &Timestamp) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Timestamp) -> bool
[src]
fn ne(&self, other: &Timestamp) -> bool
This method tests for !=
.
impl Eq for Timestamp
[src]
impl Eq for Timestamp
impl<'a> Extract<'a, ()> for Timestamp
[src]
impl<'a> Extract<'a, ()> for Timestamp
fn extract(stream: &mut Stream<'a>, _: ()) -> ExtractResult<'a, Self>
[src]
fn extract(stream: &mut Stream<'a>, _: ()) -> ExtractResult<'a, Self>
Extracts a value of this type from the supplied stream of bytes. Read more