pub struct UnitType { /* private fields */ }Expand description
The wire type corresponding to UnitType.
Implementations§
Source§impl UnitType
impl UnitType
pub const NONE: UnitType
pub const OTHER: UnitType
pub const METERS: UnitType
pub const GRAMS: UnitType
pub const DEGREES: UnitType
pub const ENGLISH_ANGULAR_VELOCITY: UnitType
pub const SI_LINEAR_VELOCITY: UnitType
pub const SI_LINEAR_ACCELERATION: UnitType
pub const WEBERS: UnitType
pub const CANDELAS: UnitType
pub const PASCALS: UnitType
pub const LUX: UnitType
pub const SECONDS: UnitType
Trait Implementations§
impl Copy for UnitType
Source§impl<___E> Encode<UnitType, ___E> for UnitTypewhere
___E: ?Sized,
impl<___E> Encode<UnitType, ___E> for UnitTypewhere
___E: ?Sized,
Source§impl<'a, ___E> Encode<UnitType, ___E> for &'a UnitTypewhere
___E: ?Sized,
impl<'a, ___E> Encode<UnitType, ___E> for &'a UnitTypewhere
___E: ?Sized,
impl Eq for UnitType
Source§impl FromWireRef<UnitType> for UnitType
impl FromWireRef<UnitType> for UnitType
Source§fn from_wire_ref(wire: &UnitType) -> Self
fn from_wire_ref(wire: &UnitType) -> Self
Converts the given reference to this type.
impl StructuralPartialEq for UnitType
Auto Trait Implementations§
impl Freeze for UnitType
impl RefUnwindSafe for UnitType
impl Send for UnitType
impl Sync for UnitType
impl Unpin for UnitType
impl UnsafeUnpin for UnitType
impl UnwindSafe for UnitType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]