Struct limn_layout::LayoutVars
[−]
[src]
pub struct LayoutVars { pub left: Variable, pub top: Variable, pub right: Variable, pub bottom: Variable, pub width: Variable, pub height: Variable, }
A set of cassowary Variable
s representing the
bounding rectangle of a layout.
Fields
left: Variable
top: Variable
right: Variable
bottom: Variable
width: Variable
height: Variable
Methods
impl LayoutVars
[src]
fn new() -> Self
[src]
fn array(&self) -> [Variable; 6]
[src]
Returns the current inner state of this struct as an array
fn var_type(&self, var: Variable) -> VarType
[src]
If a Variable
matches one of the variables in this layout, return it's type
Trait Implementations
impl Debug for LayoutVars
[src]
impl Copy for LayoutVars
[src]
impl Clone for LayoutVars
[src]
fn clone(&self) -> LayoutVars
[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 LayoutRef for LayoutVars
[src]
fn layout_ref(&self) -> LayoutVars
[src]
Returns a copy of the current LayoutVars