pub struct Inches(pub f64);Expand description
英寸:1 inch = 914400 EMU。
形状的 cx / cy / x / y 等几何属性最常用的语义单位。
Tuple Fields§
§0: f64英寸值(f64)。
Implementations§
Trait Implementations§
impl Copy for Inches
Source§impl PartialOrd for Inches
impl PartialOrd for Inches
impl StructuralPartialEq for Inches
Auto Trait Implementations§
impl Freeze for Inches
impl RefUnwindSafe for Inches
impl Send for Inches
impl Sync for Inches
impl Unpin for Inches
impl UnsafeUnpin for Inches
impl UnwindSafe for Inches
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