pub struct FeatureSet2 { /* private fields */ }Expand description
Keypoints paired one-to-one with descriptor rows.
Implementations§
Source§impl FeatureSet2
impl FeatureSet2
Sourcepub fn try_new(
keypoints: Vec<Keypoint2>,
descriptors: DescriptorBuffer,
) -> VisionResult<Self>
pub fn try_new( keypoints: Vec<Keypoint2>, descriptors: DescriptorBuffer, ) -> VisionResult<Self>
Validates and owns a keypoint/descriptor pair.
Sourcepub const fn descriptors(&self) -> &DescriptorBuffer
pub const fn descriptors(&self) -> &DescriptorBuffer
Returns the associated descriptor matrix.
Trait Implementations§
Source§impl Clone for FeatureSet2
impl Clone for FeatureSet2
Source§fn clone(&self) -> FeatureSet2
fn clone(&self) -> FeatureSet2
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 FeatureSet2
impl Debug for FeatureSet2
Source§impl PartialEq for FeatureSet2
impl PartialEq for FeatureSet2
Source§fn eq(&self, other: &FeatureSet2) -> bool
fn eq(&self, other: &FeatureSet2) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FeatureSet2
Auto Trait Implementations§
impl Freeze for FeatureSet2
impl RefUnwindSafe for FeatureSet2
impl Send for FeatureSet2
impl Sync for FeatureSet2
impl Unpin for FeatureSet2
impl UnsafeUnpin for FeatureSet2
impl UnwindSafe for FeatureSet2
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