pub struct OverwriteTile<'a> {
pub size: usize,
pub pixels: &'a mut [u8],
pub coverage: &'a mut [u8],
pub provisional: &'a mut [u8],
pub quality: &'a mut [u8],
pub conflicts: &'a mut [u8],
pub owner: &'a mut [u32],
pub frozen: &'a mut [u8],
}Expand description
Mutable view of the tile buffers overwrite_tile touches. frozen is written here (unlike
compositor::TileBuffers, where composite_tile only ever reads it) because overwritePatch sets it under
the ‘stable’ policy.
Fields§
§size: usize§pixels: &'a mut [u8]§coverage: &'a mut [u8]§provisional: &'a mut [u8]§quality: &'a mut [u8]§conflicts: &'a mut [u8]§owner: &'a mut [u32]§frozen: &'a mut [u8]Auto Trait Implementations§
impl<'a> !UnwindSafe for OverwriteTile<'a>
impl<'a> Freeze for OverwriteTile<'a>
impl<'a> RefUnwindSafe for OverwriteTile<'a>
impl<'a> Send for OverwriteTile<'a>
impl<'a> Sync for OverwriteTile<'a>
impl<'a> Unpin for OverwriteTile<'a>
impl<'a> UnsafeUnpin for OverwriteTile<'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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more