Enum DetectionClass
pub enum DetectionClass {
Unknown,
Person,
Head,
Face,
Vehicle,
Animal,
Package,
}
Expand description
Enum representing the classes of objects that can be detected.
Variants§
Trait Implementations§
§impl Clone for DetectionClass
impl Clone for DetectionClass
§fn clone(&self) -> DetectionClass
fn clone(&self) -> DetectionClass
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for DetectionClass
impl Debug for DetectionClass
§impl<'de> Deserialize<'de> for DetectionClass
impl<'de> Deserialize<'de> for DetectionClass
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Hash for DetectionClass
impl Hash for DetectionClass
§impl Ord for DetectionClass
impl Ord for DetectionClass
§impl PartialEq for DetectionClass
impl PartialEq for DetectionClass
§impl PartialOrd for DetectionClass
impl PartialOrd for DetectionClass
§impl Serialize for DetectionClass
impl Serialize for DetectionClass
impl Copy for DetectionClass
impl Eq for DetectionClass
impl StructuralPartialEq for DetectionClass
Auto Trait Implementations§
impl Freeze for DetectionClass
impl RefUnwindSafe for DetectionClass
impl Send for DetectionClass
impl Sync for DetectionClass
impl Unpin for DetectionClass
impl UnwindSafe for DetectionClass
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