pub enum Percent {
Percent(f64),
}Expand description
(Positive or negative) percentage values in conformance with §5.9.11 of XSL.
Variants§
Trait Implementations§
Source§impl From<Percent> for LengthPercent
impl From<Percent> for LengthPercent
Source§impl From<Percent> for LineHeight
impl From<Percent> for LineHeight
Source§impl From<Percent> for TextPosition
impl From<Percent> for TextPosition
impl Copy for Percent
impl StructuralPartialEq for Percent
Auto Trait Implementations§
impl Freeze for Percent
impl RefUnwindSafe for Percent
impl Send for Percent
impl Sync for Percent
impl Unpin for Percent
impl UnwindSafe for Percent
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