Struct limn_core::widget::LayoutGuardMut
[−]
[src]
pub struct LayoutGuardMut<'a> { /* fields omitted */ }
Methods from Deref<Target = Layout>
pub fn layout(&mut self) -> &mut Layout
[src]
pub fn no_container(&mut self)
[src]
Clears the container of the current Layout
.
pub fn set_container<T>(&mut self, container: T) where
T: LayoutContainer + 'static,
[src]
T: LayoutContainer + 'static,
Replaces the container of the current layout. The container is what determines what constraints will be added between this layout and it's children, as they are added, if any.
pub fn edit_left(&mut self) -> VariableEditable
[src]
pub fn edit_top(&mut self) -> VariableEditable
[src]
pub fn edit_right(&mut self) -> VariableEditable
[src]
pub fn edit_bottom(&mut self) -> VariableEditable
[src]
pub fn edit_width(&mut self) -> VariableEditable
[src]
pub fn edit_height(&mut self) -> VariableEditable
[src]
pub fn create_constraint<B>(&self, builder: B) -> Vec<Constraint> where
B: ConstraintBuilder,
[src]
B: ConstraintBuilder,
pub fn add<B>(&mut self, builder: B) where
B: ConstraintBuilder,
[src]
B: ConstraintBuilder,
pub fn remove_constraint(&mut self, constraint: Constraint)
[src]
pub fn remove_constraints(&mut self, constraints: Vec<Constraint>)
[src]
pub fn has_constraint(&mut self, constraints: &Vec<Constraint>) -> bool
[src]
pub fn get_constraints(&mut self) -> HashSet<Constraint, RandomState>
[src]
pub fn get_removed_constraints(&mut self) -> Vec<Constraint>
[src]
pub fn get_edit_vars(&mut self) -> Vec<EditVariable>
[src]
pub fn add_child(&mut self, child: &mut Layout)
[src]
pub fn remove_child(&mut self, child: &mut Layout)
[src]
pub fn get_removed_children(&mut self) -> Vec<usize>
[src]
pub fn get_children(&self) -> &Vec<usize>
[src]
pub fn add_associated_vars(&mut self, vars: &LayoutVars, name: &str)
[src]
pub fn add_associated_var(&mut self, var: Variable, name: &str)
[src]
pub fn get_associated_vars(&mut self) -> Vec<(Variable, String)>
[src]
pub fn hide(&mut self)
[src]
pub fn show(&mut self)
[src]
Trait Implementations
impl<'b> Deref for LayoutGuardMut<'b>
[src]
type Target = Layout
The resulting type after dereferencing.
fn deref(&self) -> &Layout
[src]
Dereferences the value.