pub struct CannyWorkspace { /* private fields */ }Expand description
Reusable caller-owned storage for the allocation-light Canny path.
The workspace grows to the largest image seen and retains that capacity. It contains CPU buffers only and never performs an implicit device copy.
Implementations§
Trait Implementations§
Source§impl Clone for CannyWorkspace
impl Clone for CannyWorkspace
Source§fn clone(&self) -> CannyWorkspace
fn clone(&self) -> CannyWorkspace
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 CannyWorkspace
impl Debug for CannyWorkspace
Source§impl Default for CannyWorkspace
impl Default for CannyWorkspace
Source§fn default() -> CannyWorkspace
fn default() -> CannyWorkspace
Returns the “default value” for a type. Read more
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> 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