Enum spreadsheet_ods::style::units::LengthPercent
source · pub enum LengthPercent {
Length(Length),
Percent(Percent),
}Expand description
Length or percentage.
Variants§
Trait Implementations§
source§impl Clone for LengthPercent
impl Clone for LengthPercent
source§fn clone(&self) -> LengthPercent
fn clone(&self) -> LengthPercent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LengthPercent
impl Debug for LengthPercent
source§impl Display for LengthPercent
impl Display for LengthPercent
source§impl From<Length> for LengthPercent
impl From<Length> for LengthPercent
source§impl From<Percent> for LengthPercent
impl From<Percent> for LengthPercent
source§impl PartialEq for LengthPercent
impl PartialEq for LengthPercent
source§fn eq(&self, other: &LengthPercent) -> bool
fn eq(&self, other: &LengthPercent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for LengthPercent
impl StructuralPartialEq for LengthPercent
Auto Trait Implementations§
impl RefUnwindSafe for LengthPercent
impl Send for LengthPercent
impl Sync for LengthPercent
impl Unpin for LengthPercent
impl UnwindSafe for LengthPercent
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