#[non_exhaustive]pub struct StackEntry<'a> {
pub plane: &'a PlaneCapabilities,
pub requested: Option<u64>,
pub written: Option<u64>,
pub below_ties: bool,
}Expand description
One armed plane in a frame’s stack.
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.plane: &'a PlaneCapabilitiesThe plane.
requested: Option<u64>The zpos its layer requests.
written: Option<u64>The zpos to write, filled by stack_zpos.
below_ties: boolStack under the other entries requesting the same zpos, whatever the
plane ids: the composition canvas’s slot under the placed layer that
must cover it (drm-cxx 07226e4).
Implementations§
Source§impl<'a> StackEntry<'a>
impl<'a> StackEntry<'a>
Sourcepub const fn new(plane: &'a PlaneCapabilities, requested: Option<u64>) -> Self
pub const fn new(plane: &'a PlaneCapabilities, requested: Option<u64>) -> Self
An entry with nothing written yet.
Trait Implementations§
Source§impl<'a> Clone for StackEntry<'a>
impl<'a> Clone for StackEntry<'a>
impl<'a> Copy for StackEntry<'a>
Auto Trait Implementations§
impl<'a> Freeze for StackEntry<'a>
impl<'a> RefUnwindSafe for StackEntry<'a>
impl<'a> Send for StackEntry<'a>
impl<'a> Sync for StackEntry<'a>
impl<'a> Unpin for StackEntry<'a>
impl<'a> UnsafeUnpin for StackEntry<'a>
impl<'a> UnwindSafe for StackEntry<'a>
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