pub enum Measure {
Absolute(Length),
Relative(Percent),
}Expand description
A length or a percentage, which is what ODF permits wherever it permits either.
Variants§
Absolute(Length)
An absolute length.
Relative(Percent)
A proportion of whatever the property is relative to.
Implementations§
Trait Implementations§
impl Copy for Measure
impl StructuralPartialEq for Measure
Auto Trait Implementations§
impl Freeze for Measure
impl RefUnwindSafe for Measure
impl Send for Measure
impl Sync for Measure
impl Unpin for Measure
impl UnsafeUnpin for Measure
impl UnwindSafe for Measure
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