pub enum InPlaceTransformDecision {
Unchanged,
Updated(InPlaceTransformOutput),
}Expand description
Full re-export of zenpixels core types (zero module name collisions!).
Outcome returned by the closure passed to PixelBuf::transform_in_place.
Variants§
Unchanged
Leave the buffer’s format, stride, origin, and attached claims unchanged.
Updated(InPlaceTransformOutput)
Atomically validate and adopt the new stride, format, origin, and sample claims.
Trait Implementations§
Source§impl Clone for InPlaceTransformDecision
impl Clone for InPlaceTransformDecision
Source§fn clone(&self) -> InPlaceTransformDecision
fn clone(&self) -> InPlaceTransformDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InPlaceTransformDecision
impl RefUnwindSafe for InPlaceTransformDecision
impl Send for InPlaceTransformDecision
impl Sync for InPlaceTransformDecision
impl Unpin for InPlaceTransformDecision
impl UnsafeUnpin for InPlaceTransformDecision
impl UnwindSafe for InPlaceTransformDecision
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