pub struct ParallelLayoutSolver { /* private fields */ }Expand description
Lock-free parallel CPU dirty-subtree layout solver backed by EngineWorkerPool and SIMD micro-kernels.
Implementations§
Source§impl ParallelLayoutSolver
Lock-free parallel dirty-subtree Flexbox, Grid, Block, and Positioned layout solver on SceneLayoutSoa.
impl ParallelLayoutSolver
Lock-free parallel dirty-subtree Flexbox, Grid, Block, and Positioned layout solver on SceneLayoutSoa.
Sourcepub fn last_stats(&self) -> ParallelLayoutStats
pub fn last_stats(&self) -> ParallelLayoutStats
Returns diagnostics recorded by the most recent parallel layout pass.
§Returns
ParallelLayoutStats- Parallel dispatch counts, SIMD counts, and computed node totals.
Trait Implementations§
Source§impl Clone for ParallelLayoutSolver
Clone implementation creating fresh independent lane scratch buffers while copying cached diagnostics.
impl Clone for ParallelLayoutSolver
Clone implementation creating fresh independent lane scratch buffers while copying cached diagnostics.
Source§impl Debug for ParallelLayoutSolver
impl Debug for ParallelLayoutSolver
Auto Trait Implementations§
impl !RefUnwindSafe for ParallelLayoutSolver
impl Forget for ParallelLayoutSolver
impl Freeze for ParallelLayoutSolverwhere
*const u8 is !null: Freeze,
PhantomData<UnsafeCell<WorkerLayoutScratch>>: Freeze,
PhantomData<LayoutBox>: Freeze,
PhantomData<Option<AvailableSpace>>: Freeze,
PhantomData<Rect>: Freeze,
PhantomData<ParallelNodeResult>: Freeze,
PhantomData<ParallelChildTask>: Freeze,
PhantomData<ParallelChildOutcome>: Freeze,
impl Move for ParallelLayoutSolver
impl Send for ParallelLayoutSolverwhere
RawVecInner: Send,
impl Sync for ParallelLayoutSolver
impl Unpin for ParallelLayoutSolver
impl UnsafeUnpin for ParallelLayoutSolverwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<UnsafeCell<WorkerLayoutScratch>>: UnsafeUnpin,
PhantomData<LayoutBox>: UnsafeUnpin,
PhantomData<Option<AvailableSpace>>: UnsafeUnpin,
PhantomData<Rect>: UnsafeUnpin,
PhantomData<ParallelNodeResult>: UnsafeUnpin,
PhantomData<ParallelChildTask>: UnsafeUnpin,
PhantomData<ParallelChildOutcome>: UnsafeUnpin,
impl UnwindSafe for ParallelLayoutSolverwhere
RawVecInner: UnwindSafe,
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