pub struct LayoutVars {
pub left: Variable,
pub top: Variable,
pub right: Variable,
pub bottom: Variable,
pub width: Variable,
pub height: Variable,
}Expand description
A set of cassowary Variables representing the
bounding rectangle of a layout.
Fields§
§left: Variable§top: Variable§right: Variable§bottom: Variable§width: Variable§height: VariableImplementations§
Trait Implementations§
Source§impl Clone for LayoutVars
impl Clone for LayoutVars
Source§fn clone(&self) -> LayoutVars
fn clone(&self) -> LayoutVars
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 LayoutVars
impl Debug for LayoutVars
Source§impl LayoutRef for LayoutVars
impl LayoutRef for LayoutVars
Source§fn layout_ref(&self) -> LayoutVars
fn layout_ref(&self) -> LayoutVars
Returns a copy of the current LayoutVars
impl Copy for LayoutVars
Auto Trait Implementations§
impl Freeze for LayoutVars
impl RefUnwindSafe for LayoutVars
impl Send for LayoutVars
impl Sync for LayoutVars
impl Unpin for LayoutVars
impl UnwindSafe for LayoutVars
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