pub struct CannyWorkspace {
pub width: usize,
pub height: usize,
pub capacity: usize,
pub buffer_a: Vec<f32>,
pub buffer_b: Vec<f32>,
pub dir_map: Vec<u8>,
pub edge_map: Vec<u8>,
pub arena: Bump,
/* private fields */
}Fields§
§width: usize§height: usize§capacity: usize§buffer_a: Vec<f32>§buffer_b: Vec<f32>§dir_map: Vec<u8>§edge_map: Vec<u8>§arena: BumpImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for CannyWorkspace
impl !RefUnwindSafe for CannyWorkspace
impl Send for CannyWorkspace
impl !Sync for CannyWorkspace
impl Unpin for CannyWorkspace
impl UnsafeUnpin for CannyWorkspace
impl !UnwindSafe for CannyWorkspace
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> 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