#[repr(u8)]pub enum Edge {
Empty = 0,
Filled = 1,
DoesNotExist = 2,
}Expand description
Classification of pixels in an image used for edge thinning.
Variants§
Empty = 0
The pixel does not contain the foreground color.
Filled = 1
The pixel contains the foreground color.
DoesNotExist = 2
The pixel is not a valid location within the image.
Implementations§
Trait Implementations§
impl Copy for Edge
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
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