pub struct LayoutRuntime { /* private fields */ }Implementations§
Source§impl LayoutRuntime
impl LayoutRuntime
pub fn new() -> Self
Sourcepub fn update(&mut self, tree: &mut HostTree) -> LayoutCommitMetrics
pub fn update(&mut self, tree: &mut HostTree) -> LayoutCommitMetrics
Resolves logical layout while retaining committed results per node. Paint-only changes do not execute layout; geometric changes execute only their nearest layout boundary subtree.
pub fn metrics(&self) -> LayoutCommitMetrics
pub fn clear(&mut self)
Trait Implementations§
Source§impl Default for LayoutRuntime
impl Default for LayoutRuntime
Source§fn default() -> LayoutRuntime
fn default() -> LayoutRuntime
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LayoutRuntime
impl RefUnwindSafe for LayoutRuntime
impl Send for LayoutRuntime
impl Sync for LayoutRuntime
impl Unpin for LayoutRuntime
impl UnsafeUnpin for LayoutRuntime
impl UnwindSafe for LayoutRuntime
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