Enum style::attr::LengthOrPercentageOrAuto
[−]
[src]
pub enum LengthOrPercentageOrAuto { Auto, Percentage(f32), Length(Au), }
Variants
Auto
Percentage(f32)
Length(Au)
Trait Implementations
impl Clone for LengthOrPercentageOrAuto
[src]
fn clone(&self) -> LengthOrPercentageOrAuto
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for LengthOrPercentageOrAuto
[src]
impl Debug for LengthOrPercentageOrAuto
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for LengthOrPercentageOrAuto
[src]
fn eq(&self, __arg_0: &LengthOrPercentageOrAuto) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LengthOrPercentageOrAuto) -> bool
[src]
This method tests for !=
.
impl MallocSizeOf for LengthOrPercentageOrAuto
[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more