Enum conrod::widget::canvas::Length [] [src]

pub enum Length {
    Absolute(Scalar),
    Weight(Weight),
}

Used to describe the desired length for a Split.

Variants

The length as an absolute scalar.

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Length
[src]

Formats the value using the given formatter.

impl PartialEq for Length
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.