pub struct LayoutReport { /* private fields */ }Expand description
Geometry of one successfully accepted native root.
Implementations§
Source§impl LayoutReport
impl LayoutReport
Sourcepub fn nodes(&self) -> &[LayoutNode]
pub fn nodes(&self) -> &[LayoutNode]
The actual native layout tree.
Sourcepub fn grid_cells(&self) -> &[GridCellReport]
pub fn grid_cells(&self) -> &[GridCellReport]
Declared root Canvas cells in row-major order, including holes and coverage. Empty for a standalone Plot.
Sourcepub fn paint_order(&self) -> &[PaintBatch]
pub fn paint_order(&self) -> &[PaintBatch]
Actual closed drawing batches, in physical bottom-to-top paint order.
Sourcepub fn boundaries(&self) -> &[BoundaryRef]
pub fn boundaries(&self) -> &[BoundaryRef]
Stable adjacent gaps in the actual closed native paint scope.
Trait Implementations§
Source§impl Clone for LayoutReport
impl Clone for LayoutReport
Source§fn clone(&self) -> LayoutReport
fn clone(&self) -> LayoutReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayoutReport
impl Debug for LayoutReport
Source§impl PartialEq for LayoutReport
impl PartialEq for LayoutReport
impl StructuralPartialEq for LayoutReport
Auto Trait Implementations§
impl Forget for LayoutReport
impl Freeze for LayoutReportwhere
*const ArcInner<[LayoutNode]> is !null: Freeze,
PhantomData<ArcInner<[LayoutNode]>>: Freeze,
*const ArcInner<[GridCellReport]> is !null: Freeze,
PhantomData<ArcInner<[GridCellReport]>>: Freeze,
*const ArcInner<[PaintBatch]> is !null: Freeze,
PhantomData<ArcInner<[PaintBatch]>>: Freeze,
*const ArcInner<[BoundaryRef]> is !null: Freeze,
PhantomData<ArcInner<[BoundaryRef]>>: Freeze,
impl Move for LayoutReport
impl RefUnwindSafe for LayoutReport
impl Send for LayoutReportwhere
Arc<[LayoutNode]>: Send,
Arc<[GridCellReport]>: Send,
Arc<[PaintBatch]>: Send,
Arc<[BoundaryRef]>: Send,
impl Sync for LayoutReportwhere
Arc<[LayoutNode]>: Sync,
Arc<[GridCellReport]>: Sync,
Arc<[PaintBatch]>: Sync,
Arc<[BoundaryRef]>: Sync,
impl Unpin for LayoutReportwhere
Arc<[LayoutNode]>: Unpin,
Arc<[GridCellReport]>: Unpin,
Arc<[PaintBatch]>: Unpin,
Arc<[BoundaryRef]>: Unpin,
impl UnsafeUnpin for LayoutReportwhere
*const ArcInner<[LayoutNode]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[LayoutNode]>>: UnsafeUnpin,
*const ArcInner<[GridCellReport]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[GridCellReport]>>: UnsafeUnpin,
*const ArcInner<[PaintBatch]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[PaintBatch]>>: UnsafeUnpin,
*const ArcInner<[BoundaryRef]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[BoundaryRef]>>: UnsafeUnpin,
impl UnwindSafe for LayoutReportwhere
Arc<[LayoutNode]>: UnwindSafe,
Arc<[GridCellReport]>: UnwindSafe,
Arc<[PaintBatch]>: UnwindSafe,
Arc<[BoundaryRef]>: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.