Struct aprs::Feet [−][src]
pub struct Feet(pub f32);
Methods
impl Feet
[src]
impl Feet
pub fn as_f32(&self) -> f32
[src]
pub fn as_f32(&self) -> f32
pub fn as_f64(&self) -> f64
[src]
pub fn as_f64(&self) -> f64
pub fn from_meters(v: f32) -> Feet
[src]
pub fn from_meters(v: f32) -> Feet
Deprecated since 0.2.0
: use Feet::from(Meters(v))
instead
Trait Implementations
impl Debug for Feet
[src]
impl Debug for Feet
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 Clone for Feet
[src]
impl Clone for Feet
fn clone(&self) -> Feet
[src]
fn clone(&self) -> Feet
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 Copy for Feet
[src]
impl Copy for Feet
impl PartialEq for Feet
[src]
impl PartialEq for Feet
fn eq(&self, other: &Feet) -> bool
[src]
fn eq(&self, other: &Feet) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Feet) -> bool
[src]
fn ne(&self, other: &Feet) -> bool
This method tests for !=
.
impl Display for Feet
[src]
impl Display for Feet
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 From<Meters> for Feet
[src]
impl From<Meters> for Feet
impl From<Feet> for Meters
[src]
impl From<Feet> for Meters