#[non_exhaustive]pub struct Allocation {
pub assignment: PlaneAssignment,
pub composited: Vec<LayerId>,
pub diagnostics: Diagnostics,
}Expand description
The result of one allocation pass.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.assignment: PlaneAssignmentWhich layer goes on which plane.
composited: Vec<LayerId>Layers without a plane, which the caller must composite: the ones the search could not place and the force- and transient-composited ones it never tried, in stacking order. Never the composition layer itself, nor an externally bound or pinned layer, whose planes the scene owns.
diagnostics: DiagnosticsWhat the pass did.
Trait Implementations§
Source§impl Clone for Allocation
impl Clone for Allocation
Source§impl Debug for Allocation
impl Debug for Allocation
Auto Trait Implementations§
impl Freeze for Allocation
impl RefUnwindSafe for Allocation
impl Send for Allocation
impl Sync for Allocation
impl Unpin for Allocation
impl UnsafeUnpin for Allocation
impl UnwindSafe for Allocation
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