pub struct ArrayShape {
pub rank: u32,
pub sizes: Vec<u32>,
pub lo_bounds: Vec<i32>,
}Expand description
The shape of a multi-dimensional array (II.23.2.13).
Fields§
§rank: u32The number of dimensions.
sizes: Vec<u32>Declared sizes, for a prefix of the dimensions.
lo_bounds: Vec<i32>Declared lower bounds, for a prefix of the dimensions.
Trait Implementations§
Source§impl Clone for ArrayShape
impl Clone for ArrayShape
Source§impl Debug for ArrayShape
impl Debug for ArrayShape
Source§impl Default for ArrayShape
impl Default for ArrayShape
impl Eq for ArrayShape
Source§impl Hash for ArrayShape
impl Hash for ArrayShape
Source§impl PartialEq for ArrayShape
impl PartialEq for ArrayShape
impl StructuralPartialEq for ArrayShape
Auto Trait Implementations§
impl Forget for ArrayShape
impl Freeze for ArrayShape
impl Move for ArrayShape
impl RefUnwindSafe for ArrayShape
impl Send for ArrayShape
impl Sync for ArrayShape
impl Unpin for ArrayShape
impl UnsafeUnpin for ArrayShape
impl UnwindSafe for ArrayShape
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