Struct sfnt::Fixed2_14 [−][src]
pub struct Fixed2_14(pub u16);
A 2.14
fixed-point number.
Trait Implementations
impl Copy for Fixed2_14
[src]
impl Copy for Fixed2_14
impl Clone for Fixed2_14
[src]
impl Clone for Fixed2_14
fn clone(&self) -> Fixed2_14
[src]
fn clone(&self) -> Fixed2_14
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 Fixed2_14
[src]
impl Debug for Fixed2_14
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 Fixed2_14
[src]
impl PartialEq for Fixed2_14
fn eq(&self, other: &Fixed2_14) -> bool
[src]
fn eq(&self, other: &Fixed2_14) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Fixed2_14) -> bool
[src]
fn ne(&self, other: &Fixed2_14) -> bool
This method tests for !=
.
impl Eq for Fixed2_14
[src]
impl Eq for Fixed2_14
impl<'a> Extract<'a, ()> for Fixed2_14
[src]
impl<'a> Extract<'a, ()> for Fixed2_14
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
impl Into<f32> for Fixed2_14
[src]
impl Into<f32> for Fixed2_14
impl Into<f64> for Fixed2_14
[src]
impl Into<f64> for Fixed2_14