Enum conrod::widget::canvas::Length
[−]
[src]
pub enum Length { Absolute(Scalar), Weight(Weight), }
Used to describe the desired length for a Split
.
Variants
Absolute(Scalar)
The length as an absolute scalar.
Weight(Weight)
The length as a weight of the non-absolute length of the parent Canvas.
Trait Implementations
impl Copy for Length
[src]
impl Clone for Length
[src]
fn clone(&self) -> Length
[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 Debug for Length
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more