pub enum GpuGaussianBorder {
Replicate,
Reflect,
Reflect101,
Wrap,
Constant([u8; 4]),
}Expand description
Border extrapolation for resident Gaussian filtering.
Variants§
Replicate
Repeat the nearest edge pixel.
Reflect
Reflect including the edge pixel.
Reflect101
Reflect without repeating the edge pixel.
Wrap
Periodically wrap coordinates.
Constant([u8; 4])
Fixed out-of-bounds pixel. Components beyond the logical channels are ignored.
Trait Implementations§
Source§impl Clone for GpuGaussianBorder
impl Clone for GpuGaussianBorder
Source§fn clone(&self) -> GpuGaussianBorder
fn clone(&self) -> GpuGaussianBorder
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 moreimpl Copy for GpuGaussianBorder
Source§impl Debug for GpuGaussianBorder
impl Debug for GpuGaussianBorder
impl Eq for GpuGaussianBorder
Source§impl PartialEq for GpuGaussianBorder
impl PartialEq for GpuGaussianBorder
impl StructuralPartialEq for GpuGaussianBorder
Auto Trait Implementations§
impl Freeze for GpuGaussianBorder
impl RefUnwindSafe for GpuGaussianBorder
impl Send for GpuGaussianBorder
impl Sync for GpuGaussianBorder
impl Unpin for GpuGaussianBorder
impl UnsafeUnpin for GpuGaussianBorder
impl UnwindSafe for GpuGaussianBorder
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