pub enum LengthRefinement {
Auto,
Px(MetricRef),
Fraction(f32),
Fill,
}Variants§
Auto
Px(MetricRef)
Fraction(f32)
Fraction of the containing block size (percent sizing).
Expressed as a ratio (e.g. 0.5 for 50%).
Fill
Trait Implementations§
Source§impl Clone for LengthRefinement
impl Clone for LengthRefinement
Source§fn clone(&self) -> LengthRefinement
fn clone(&self) -> LengthRefinement
Returns a duplicate 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 LengthRefinement
impl Debug for LengthRefinement
Source§impl Default for LengthRefinement
impl Default for LengthRefinement
Source§fn default() -> LengthRefinement
fn default() -> LengthRefinement
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LengthRefinement
impl RefUnwindSafe for LengthRefinement
impl Send for LengthRefinement
impl Sync for LengthRefinement
impl Unpin for LengthRefinement
impl UnsafeUnpin for LengthRefinement
impl UnwindSafe for LengthRefinement
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