pub struct PlaneAssignment { /* private fields */ }Expand description
Plane-to-layer assignment.
A flat vector rather than a map: CRTCs have at most a handful of planes, so
a linear scan beats hashing, and reassigning one reuses the allocation
instead of rehashing. Same reasoning the C++ PlaneAssignment records.
Implementations§
Trait Implementations§
Source§impl Clone for PlaneAssignment
impl Clone for PlaneAssignment
Source§impl Debug for PlaneAssignment
impl Debug for PlaneAssignment
Source§impl Default for PlaneAssignment
impl Default for PlaneAssignment
impl Eq for PlaneAssignment
Source§impl PartialEq for PlaneAssignment
impl PartialEq for PlaneAssignment
impl StructuralPartialEq for PlaneAssignment
Auto Trait Implementations§
impl Freeze for PlaneAssignment
impl RefUnwindSafe for PlaneAssignment
impl Send for PlaneAssignment
impl Sync for PlaneAssignment
impl Unpin for PlaneAssignment
impl UnsafeUnpin for PlaneAssignment
impl UnwindSafe for PlaneAssignment
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