pub enum PaddableConstraint {
Show 20 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),
}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)
Implementations§
Source§impl PaddableConstraint
impl PaddableConstraint
pub fn builder(self, default_strength: f64) -> PaddableConstraintBuilder
Trait Implementations§
Source§impl Clone for PaddableConstraint
impl Clone for PaddableConstraint
Source§fn clone(&self) -> PaddableConstraint
fn clone(&self) -> PaddableConstraint
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 PaddableConstraint
impl Debug for PaddableConstraint
impl Copy for PaddableConstraint
Auto Trait Implementations§
impl Freeze for PaddableConstraint
impl RefUnwindSafe for PaddableConstraint
impl Send for PaddableConstraint
impl Sync for PaddableConstraint
impl Unpin for PaddableConstraint
impl UnwindSafe for PaddableConstraint
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