pub struct CpuPlaneSet {
pub format: PixelFormat,
pub count: u8,
pub planes: [Option<CpuPlane>; 4],
}Expand description
Up-to-four-plane CPU buffer set. count ∈ 1..=4; unused slots are
None. Zero heap allocation — the [Option<CpuPlane>; 4] is inline.
Fields§
§format: PixelFormat§count: u8§planes: [Option<CpuPlane>; 4]Trait Implementations§
Source§impl Clone for CpuPlaneSet
impl Clone for CpuPlaneSet
impl Copy for CpuPlaneSet
Source§impl Debug for CpuPlaneSet
impl Debug for CpuPlaneSet
impl Send for CpuPlaneSet
impl Sync for CpuPlaneSet
Auto Trait Implementations§
impl Freeze for CpuPlaneSet
impl RefUnwindSafe for CpuPlaneSet
impl Unpin for CpuPlaneSet
impl UnsafeUnpin for CpuPlaneSet
impl UnwindSafe for CpuPlaneSet
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