Enum accessibility_tree::style::values::SpecifiedLength
source · pub enum SpecifiedLength {
Absolute(Length),
Em(f32),
}
Expand description
Variants§
Trait Implementations§
source§impl Clone for SpecifiedLength
impl Clone for SpecifiedLength
source§fn clone(&self) -> SpecifiedLength
fn clone(&self) -> SpecifiedLength
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 From<Length> for SpecifiedLength
impl From<Length> for SpecifiedLength
source§impl From<SpecifiedLength> for SpecifiedLengthOrPercentage
impl From<SpecifiedLength> for SpecifiedLengthOrPercentage
source§fn from(x: SpecifiedLength) -> Self
fn from(x: SpecifiedLength) -> Self
Converts to this type from the input type.
source§impl From<SpecifiedLength> for SpecifiedLengthOrPercentageOrAuto
impl From<SpecifiedLength> for SpecifiedLengthOrPercentageOrAuto
source§fn from(x: SpecifiedLength) -> Self
fn from(x: SpecifiedLength) -> Self
Converts to this type from the input type.
source§impl From<f32> for SpecifiedLength
impl From<f32> for SpecifiedLength
source§impl Parse for SpecifiedLength
impl Parse for SpecifiedLength
Auto Trait Implementations§
impl RefUnwindSafe for SpecifiedLength
impl Send for SpecifiedLength
impl Sync for SpecifiedLength
impl Unpin for SpecifiedLength
impl UnwindSafe for SpecifiedLength
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