Enum limn_layout::constraint::PaddableConstraint
[−]
[src]
pub enum PaddableConstraint { AlignTop(Variable), AlignBottom(Variable), AlignLeft(Variable), AlignRight(Variable), AlignAbove(Variable), AlignBelow(Variable), AlignToLeftOf(Variable), AlignToRightOf(Variable), Above(Variable), Below(Variable), ToLeftOf(Variable), ToRightOf(Variable), BoundLeft(Variable), BoundTop(Variable), BoundRight(Variable), BoundBottom(Variable), BoundBy(LayoutVars), MatchLayout(LayoutVars), MatchWidth(Variable), MatchHeight(Variable), }
Variants
AlignTop(Variable)
AlignBottom(Variable)
AlignLeft(Variable)
AlignRight(Variable)
AlignAbove(Variable)
AlignBelow(Variable)
AlignToLeftOf(Variable)
AlignToRightOf(Variable)
Above(Variable)
Below(Variable)
ToLeftOf(Variable)
ToRightOf(Variable)
BoundLeft(Variable)
BoundTop(Variable)
BoundRight(Variable)
BoundBottom(Variable)
BoundBy(LayoutVars)
MatchLayout(LayoutVars)
MatchWidth(Variable)
MatchHeight(Variable)
Methods
impl PaddableConstraint
[src]
pub fn builder(self, default_strength: f64) -> PaddableConstraintBuilder
[src]
Trait Implementations
impl Debug for PaddableConstraint
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for PaddableConstraint
[src]
impl Clone for PaddableConstraint
[src]
fn clone(&self) -> PaddableConstraint
[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