pub struct LayoutEngine { /* private fields */ }Implementations§
Source§impl LayoutEngine
impl LayoutEngine
pub fn new() -> Self
pub fn set_node(&mut self, node: LayoutNode) -> &mut Self
pub fn node(&self, id: WidgetId) -> Option<&LayoutNode>
pub fn compute( &mut self, tree: &Tree, root_constraints: LayoutConstraints, ) -> LayoutResult
Trait Implementations§
Source§impl Clone for LayoutEngine
impl Clone for LayoutEngine
Source§impl Debug for LayoutEngine
impl Debug for LayoutEngine
Source§impl Default for LayoutEngine
impl Default for LayoutEngine
Source§impl PartialEq for LayoutEngine
impl PartialEq for LayoutEngine
impl StructuralPartialEq for LayoutEngine
Auto Trait Implementations§
impl Forget for LayoutEngine
impl Freeze for LayoutEngine
impl Move for LayoutEngine
impl RefUnwindSafe for LayoutEngine
impl Send for LayoutEngine
impl Sync for LayoutEngine
impl Unpin for LayoutEngine
impl UnsafeUnpin for LayoutEngine
impl UnwindSafe for LayoutEngine
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