pub struct LayoutManager { /* private fields */ }Implementations§
Source§impl LayoutManager
impl LayoutManager
pub fn new() -> Self
pub fn register_layout(&mut self, layout: &mut Layout)
pub fn update_layout(&mut self, layout: &mut Layout)
pub fn add_constraint(&mut self, constraint: &Constraint) -> bool
pub fn remove_constraint(&mut self, constraint: &Constraint)
pub fn queue_constraint(&mut self, variable: Variable, constraint: Constraint)
pub fn dequeue_constraints(&mut self, layout: &mut Layout) -> Vec<Constraint>
pub fn layout_name(&self, id: LayoutId) -> String
pub fn children(&self, id: LayoutId) -> Vec<LayoutId> ⓘ
pub fn layout_vars(&self, id: LayoutId) -> Vec<Variable>
pub fn fmt_variable(&self, var: Variable) -> String
pub fn fmt_edit_variable(&self, edit_var: &EditVariable) -> String
pub fn fmt_constraint(&self, constraint: &Constraint) -> String
Auto Trait Implementations§
impl Freeze for LayoutManager
impl RefUnwindSafe for LayoutManager
impl Send for LayoutManager
impl Sync for LayoutManager
impl Unpin for LayoutManager
impl UnwindSafe for LayoutManager
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