[−][src]Struct darknet::Detections
A collection of detections.
Implementations
impl Detections
[src]
pub fn get<'a>(&'a self, index: usize) -> Option<Detection<'a>>
[src]
Get a detection instance by index.
pub fn len(&self) -> usize
[src]
Return detections count.
pub fn iter<'a>(&'a self) -> DetectionsIter<'a>ⓘImportant traits for DetectionsIter<'a>
impl<'a> Iterator for DetectionsIter<'a> type Item = Detection<'a>;
[src]
Important traits for DetectionsIter<'a>
impl<'a> Iterator for DetectionsIter<'a> type Item = Detection<'a>;
Get the iterator of a collection of detections.
Trait Implementations
impl Debug for Detections
[src]
impl Drop for Detections
[src]
impl<'a> IntoIterator for &'a Detections
[src]
type Item = Detection<'a>
The type of the elements being iterated over.
type IntoIter = DetectionsIter<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl Send for Detections
[src]
Auto Trait Implementations
impl RefUnwindSafe for Detections
impl !Sync for Detections
impl Unpin for Detections
impl UnwindSafe for Detections
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,