#[repr(i32)]pub enum BoundingBoxFormat {
kCORNER_PAIRS = 0,
kCENTER_SIZES = 1,
}Expand description
BoundingBoxFormat
Representation of bounding box data used for the Boxes input tensor in INMSLayer
See [INMSLayer]
Variants§
kCORNER_PAIRS = 0
(x1, y1, x2, y2) where (x1, y1) and (x2, y2) are any pair of diagonal corners
kCENTER_SIZES = 1
(x_center, y_center, width, height) where (x_center, y_center) is the center point of the box
Trait Implementations§
Source§impl Clone for BoundingBoxFormat
impl Clone for BoundingBoxFormat
Source§fn clone(&self) -> BoundingBoxFormat
fn clone(&self) -> BoundingBoxFormat
Returns a duplicate 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 moreSource§impl ExternType for BoundingBoxFormat
impl ExternType for BoundingBoxFormat
Source§impl Hash for BoundingBoxFormat
impl Hash for BoundingBoxFormat
Source§impl PartialEq for BoundingBoxFormat
impl PartialEq for BoundingBoxFormat
impl Eq for BoundingBoxFormat
impl StructuralPartialEq for BoundingBoxFormat
impl UniquePtrTarget for BoundingBoxFormat
impl VectorElement for BoundingBoxFormat
impl WeakPtrTarget for BoundingBoxFormat
Auto Trait Implementations§
impl Freeze for BoundingBoxFormat
impl RefUnwindSafe for BoundingBoxFormat
impl Send for BoundingBoxFormat
impl Sync for BoundingBoxFormat
impl Unpin for BoundingBoxFormat
impl UnsafeUnpin for BoundingBoxFormat
impl UnwindSafe for BoundingBoxFormat
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