Enum accessibility_tree::style::values::LengthOrAuto
source · pub enum LengthOrAuto {
Length(Length),
Auto,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for LengthOrAuto
impl Clone for LengthOrAuto
source§fn clone(&self) -> LengthOrAuto
fn clone(&self) -> LengthOrAuto
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 LengthOrAuto
impl Debug for LengthOrAuto
source§impl From<Length> for LengthOrAuto
impl From<Length> for LengthOrAuto
source§impl PartialEq for LengthOrAuto
impl PartialEq for LengthOrAuto
source§fn eq(&self, other: &LengthOrAuto) -> bool
fn eq(&self, other: &LengthOrAuto) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LengthOrAuto
impl StructuralPartialEq for LengthOrAuto
Auto Trait Implementations§
impl RefUnwindSafe for LengthOrAuto
impl Send for LengthOrAuto
impl Sync for LengthOrAuto
impl Unpin for LengthOrAuto
impl UnwindSafe for LengthOrAuto
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