Struct openvino_sys::dimensions
source · #[repr(C)]pub struct dimensions {
pub ranks: usize,
pub dims: [usize; 8],
}
Expand description
@struct dimensions @brief Represents dimensions for input or output data
Fields§
§ranks: usize
!< A runk representing a number of dimensions
dims: [usize; 8]
!< An array of dimensions
Trait Implementations§
source§impl Clone for dimensions
impl Clone for dimensions
source§fn clone(&self) -> dimensions
fn clone(&self) -> dimensions
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 moresource§impl Debug for dimensions
impl Debug for dimensions
impl Copy for dimensions
Auto Trait Implementations§
impl RefUnwindSafe for dimensions
impl Send for dimensions
impl Sync for dimensions
impl Unpin for dimensions
impl UnwindSafe for dimensions
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