pub struct Twips(pub i32);Expand description
Twips — 1/20 of a point, or 1/1440 of an inch. Used for page dimensions, margins, spacing, indentation.
Tuple Fields§
§0: i32Implementations§
Trait Implementations§
impl Copy for Twips
impl Eq for Twips
Source§impl Ord for Twips
impl Ord for Twips
1.21.0 (const: unstable) · 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 PartialOrd for Twips
impl PartialOrd for Twips
impl StructuralPartialEq for Twips
Auto Trait Implementations§
impl Freeze for Twips
impl RefUnwindSafe for Twips
impl Send for Twips
impl Sync for Twips
impl Unpin for Twips
impl UnsafeUnpin for Twips
impl UnwindSafe for Twips
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