Struct ribir_geom::PhysicUnit
source · pub struct PhysicUnit;
Expand description
The tag for device unit system to prevent mixing values from different system.
Trait Implementations§
source§impl Clone for PhysicUnit
impl Clone for PhysicUnit
source§fn clone(&self) -> PhysicUnit
fn clone(&self) -> PhysicUnit
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 PhysicUnit
impl Debug for PhysicUnit
source§impl Default for PhysicUnit
impl Default for PhysicUnit
source§fn default() -> PhysicUnit
fn default() -> PhysicUnit
Returns the “default value” for a type. Read more
source§impl Hash for PhysicUnit
impl Hash for PhysicUnit
source§impl Ord for PhysicUnit
impl Ord for PhysicUnit
source§fn cmp(&self, other: &PhysicUnit) -> Ordering
fn cmp(&self, other: &PhysicUnit) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PhysicUnit
impl PartialEq for PhysicUnit
source§fn eq(&self, other: &PhysicUnit) -> bool
fn eq(&self, other: &PhysicUnit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PhysicUnit
impl PartialOrd for PhysicUnit
source§fn partial_cmp(&self, other: &PhysicUnit) -> Option<Ordering>
fn partial_cmp(&self, other: &PhysicUnit) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PhysicUnit
impl Eq for PhysicUnit
impl StructuralPartialEq for PhysicUnit
Auto Trait Implementations§
impl Freeze for PhysicUnit
impl RefUnwindSafe for PhysicUnit
impl Send for PhysicUnit
impl Sync for PhysicUnit
impl Unpin for PhysicUnit
impl UnwindSafe for PhysicUnit
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more