pub struct Meter(/* private fields */);Implementations§
Trait Implementations§
Source§impl Measure for Meter
impl Measure for Meter
Source§fn value(&self) -> &dyn ChineseFormat
fn value(&self) -> &dyn ChineseFormat
The value, convertible to Chinese.
Source§fn unit(&self) -> &dyn ChineseFormat
fn unit(&self) -> &dyn ChineseFormat
The unit of measurement, convertible to Chinese.
Source§impl Ord for Meter
impl Ord for Meter
Source§impl PartialOrd for Meter
impl PartialOrd for Meter
impl Copy for Meter
impl Eq for Meter
impl StructuralPartialEq for Meter
Auto Trait Implementations§
impl Freeze for Meter
impl RefUnwindSafe for Meter
impl Send for Meter
impl Sync for Meter
impl Unpin for Meter
impl UnwindSafe for Meter
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§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> ChineseFormat for Twhere
T: Measure,
impl<T> ChineseFormat for Twhere
T: Measure,
fn to_chinese(&self, variant: Variant) -> Chinese
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)