pub enum GpuMorphology {
Erode,
Dilate,
}Expand description
Single-channel morphology operation executed on a GPU texture.
Variants§
Erode
Replaces each pixel with the neighborhood minimum.
Dilate
Replaces each pixel with the neighborhood maximum.
Trait Implementations§
Source§impl Clone for GpuMorphology
impl Clone for GpuMorphology
Source§fn clone(&self) -> GpuMorphology
fn clone(&self) -> GpuMorphology
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 moreSource§impl Debug for GpuMorphology
impl Debug for GpuMorphology
Source§impl PartialEq for GpuMorphology
impl PartialEq for GpuMorphology
Source§fn eq(&self, other: &GpuMorphology) -> bool
fn eq(&self, other: &GpuMorphology) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GpuMorphology
impl Eq for GpuMorphology
impl StructuralPartialEq for GpuMorphology
Auto Trait Implementations§
impl Freeze for GpuMorphology
impl RefUnwindSafe for GpuMorphology
impl Send for GpuMorphology
impl Sync for GpuMorphology
impl Unpin for GpuMorphology
impl UnsafeUnpin for GpuMorphology
impl UnwindSafe for GpuMorphology
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more