pub enum DetectionSource {
Signature(u8),
Code(VisionCode),
Line,
}
Expand description
Defines a source for what method was used to detect a VisionObject
.
Variants§
Signature(u8)
A normal vision signature not associated with a color code was used to detect this object.
Code(VisionCode)
Multiple signatures joined in a color code were used to detect this object.
Line
Line detection was used to find this object.
Trait Implementations§
Source§impl Clone for DetectionSource
impl Clone for DetectionSource
Source§fn clone(&self) -> DetectionSource
fn clone(&self) -> DetectionSource
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DetectionSource
impl Debug for DetectionSource
Source§impl PartialEq for DetectionSource
impl PartialEq for DetectionSource
impl Copy for DetectionSource
impl Eq for DetectionSource
impl StructuralPartialEq for DetectionSource
Auto Trait Implementations§
impl Freeze for DetectionSource
impl RefUnwindSafe for DetectionSource
impl Send for DetectionSource
impl Sync for DetectionSource
impl Unpin for DetectionSource
impl UnwindSafe for DetectionSource
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