pub struct DisplayBuffer {
pub comp_width: AtomicU32,
pub comp_height: AtomicU32,
pub width: AtomicU32,
pub height: AtomicU32,
pub byte_len: u64,
pub ptr: InvPtr<u32>,
pub damage: UnsafeCell<[Rect; 8]>,
pub damage_count: AtomicU64,
}Fields§
§comp_width: AtomicU32§comp_height: AtomicU32§width: AtomicU32§height: AtomicU32§byte_len: u64§ptr: InvPtr<u32>§damage: UnsafeCell<[Rect; 8]>§damage_count: AtomicU64Trait Implementations§
impl Invariant for DisplayBuffer
Auto Trait Implementations§
impl !Freeze for DisplayBuffer
impl !ObjSafe for DisplayBuffer
impl !RefUnwindSafe for DisplayBuffer
impl !Send for DisplayBuffer
impl !StoreCopy for DisplayBuffer
impl !Sync for DisplayBuffer
impl !Unpin for DisplayBuffer
impl UnwindSafe for DisplayBuffer
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