pub enum FilterDirection {
Vertical,
Horizontal,
}Expand description
Direction of edge filtering.
Variants§
Implementations§
Source§impl FilterDirection
impl FilterDirection
Sourcepub const fn perpendicular(self) -> Self
pub const fn perpendicular(self) -> Self
Get the perpendicular direction.
Trait Implementations§
Source§impl Clone for FilterDirection
impl Clone for FilterDirection
Source§fn clone(&self) -> FilterDirection
fn clone(&self) -> FilterDirection
Returns a duplicate of the value. Read more
1.0.0 · 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 FilterDirection
impl Debug for FilterDirection
Source§impl PartialEq for FilterDirection
impl PartialEq for FilterDirection
impl Copy for FilterDirection
impl Eq for FilterDirection
impl StructuralPartialEq for FilterDirection
Auto Trait Implementations§
impl Freeze for FilterDirection
impl RefUnwindSafe for FilterDirection
impl Send for FilterDirection
impl Sync for FilterDirection
impl Unpin for FilterDirection
impl UnsafeUnpin for FilterDirection
impl UnwindSafe for FilterDirection
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,
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