pub struct LabelImage { /* private fields */ }Expand description
Connected-component label image (0 is background).
Implementations§
Source§impl LabelImage
impl LabelImage
Sourcepub fn into_image(self) -> Image<u32, 1>
pub fn into_image(self) -> Image<u32, 1>
Consumes the wrapper and returns its image.
Trait Implementations§
Source§impl Clone for LabelImage
impl Clone for LabelImage
Source§fn clone(&self) -> LabelImage
fn clone(&self) -> LabelImage
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 LabelImage
impl Debug for LabelImage
Source§impl PartialEq for LabelImage
impl PartialEq for LabelImage
Source§fn eq(&self, other: &LabelImage) -> bool
fn eq(&self, other: &LabelImage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LabelImage
impl StructuralPartialEq for LabelImage
Auto Trait Implementations§
impl Freeze for LabelImage
impl RefUnwindSafe for LabelImage
impl Send for LabelImage
impl Sync for LabelImage
impl Unpin for LabelImage
impl UnsafeUnpin for LabelImage
impl UnwindSafe for LabelImage
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