Struct ads_apriltag::Detector
source · pub struct Detector { /* private fields */ }Expand description
The main type for detecting tags
Implementations§
source§impl Detector
impl Detector
sourcepub fn add_family(&mut self, family: Family)
pub fn add_family(&mut self, family: Family)
Add a tag family
We take ownership of the family to keep its lifetime.
sourcepub fn add_family_bits(&mut self, family: Family, bits: i32)
pub fn add_family_bits(&mut self, family: Family, bits: i32)
Add a tag family
We take ownership of the family to keep its lifetime.
sourcepub fn clear_families(&mut self)
pub fn clear_families(&mut self)
Remove all tag families
Trait Implementations§
source§impl AsMut<apriltag_detector> for Detector
impl AsMut<apriltag_detector> for Detector
source§fn as_mut(&mut self) -> &mut apriltag_detector
fn as_mut(&mut self) -> &mut apriltag_detector
Converts this type into a mutable reference of the (usually inferred) input type.
impl Send for Detector
Auto Trait Implementations§
impl Freeze for Detector
impl RefUnwindSafe for Detector
impl !Sync for Detector
impl Unpin for Detector
impl UnwindSafe for Detector
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