pub struct LimnSolver {
pub solver: Solver,
pub strict: bool,
/* private fields */
}Fields§
§solver: Solver§strict: boolImplementations§
Source§impl LimnSolver
impl LimnSolver
pub fn new() -> Self
pub fn update_layout(&mut self, layout: &mut Layout)
pub fn remove_layout(&mut self, id: LayoutId)
pub fn hide_layout(&mut self, id: LayoutId)
pub fn unhide_layout(&mut self, id: LayoutId)
pub fn update_solver<F>(&mut self, f: F)
pub fn has_edit_variable(&mut self, v: &Variable) -> bool
pub fn has_constraint(&self, constraint: &Constraint) -> bool
pub fn fetch_changes(&mut self) -> Vec<(LayoutId, VarType, f64)>
pub fn debug_variables(&self)
pub fn debug_constraints(&self)
pub fn debug_constraint(&self, constraint: &Constraint)
pub fn debug_associated_constraints(&self, constraint: &Constraint)
pub fn debug_layouts(&self)
pub fn debug_layout(&self, id: LayoutId)
Auto Trait Implementations§
impl Freeze for LimnSolver
impl !RefUnwindSafe for LimnSolver
impl !Send for LimnSolver
impl !Sync for LimnSolver
impl Unpin for LimnSolver
impl !UnwindSafe for LimnSolver
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