pub struct OverwriteStats {
pub added: u32,
pub conflict_pixels: u32,
pub provisional_delta: i32,
pub changed: bool,
}Fields§
§added: u32§conflict_pixels: u32Every pixel written inside blocks, not only pixels whose value actually differed — mirrors
PatchResult.conflictPixels in src/core/compositor.ts.
provisional_delta: i32§changed: boolTrait Implementations§
Source§impl Debug for OverwriteStats
impl Debug for OverwriteStats
Source§impl Default for OverwriteStats
impl Default for OverwriteStats
Source§impl PartialEq for OverwriteStats
impl PartialEq for OverwriteStats
impl StructuralPartialEq for OverwriteStats
Auto Trait Implementations§
impl Freeze for OverwriteStats
impl RefUnwindSafe for OverwriteStats
impl Send for OverwriteStats
impl Sync for OverwriteStats
impl Unpin for OverwriteStats
impl UnsafeUnpin for OverwriteStats
impl UnwindSafe for OverwriteStats
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