Enum geo_aid::script::SimpleUnit
source · pub enum SimpleUnit {
Distance,
Point,
Angle,
Line,
Scalar,
}Expand description
Defines a simple unit.
Variants§
Trait Implementations§
source§impl Clone for SimpleUnit
impl Clone for SimpleUnit
source§fn clone(&self) -> SimpleUnit
fn clone(&self) -> SimpleUnit
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 SimpleUnit
impl Debug for SimpleUnit
source§impl Div<SimpleUnit> for ComplexUnit
impl Div<SimpleUnit> for ComplexUnit
§type Output = ComplexUnit
type Output = ComplexUnit
The resulting type after applying the
/ operator.source§impl Mul<SimpleUnit> for ComplexUnit
impl Mul<SimpleUnit> for ComplexUnit
§type Output = ComplexUnit
type Output = ComplexUnit
The resulting type after applying the
* operator.source§impl Mul<SimpleUnit> for SimpleUnit
impl Mul<SimpleUnit> for SimpleUnit
source§impl PartialEq<SimpleUnit> for SimpleUnit
impl PartialEq<SimpleUnit> for SimpleUnit
source§fn eq(&self, other: &SimpleUnit) -> bool
fn eq(&self, other: &SimpleUnit) -> bool
This method tests for
self and other values to be equal, and is used
by ==.