pub struct ArrayFlags {
pub c_contiguous: bool,
pub f_contiguous: bool,
pub owndata: bool,
pub writeable: bool,
}Expand description
Flags describing the memory properties of an array.
Fields§
§c_contiguous: boolWhether the data is C-contiguous (row-major).
f_contiguous: boolWhether the data is Fortran-contiguous (column-major).
owndata: boolWhether the array owns its data.
writeable: boolWhether the array is writeable.
Trait Implementations§
Source§impl Clone for ArrayFlags
impl Clone for ArrayFlags
Source§fn clone(&self) -> ArrayFlags
fn clone(&self) -> ArrayFlags
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 Debug for ArrayFlags
impl Debug for ArrayFlags
Source§impl PartialEq for ArrayFlags
impl PartialEq for ArrayFlags
impl Copy for ArrayFlags
impl Eq for ArrayFlags
impl StructuralPartialEq for ArrayFlags
Auto Trait Implementations§
impl Freeze for ArrayFlags
impl RefUnwindSafe for ArrayFlags
impl Send for ArrayFlags
impl Sync for ArrayFlags
impl Unpin for ArrayFlags
impl UnsafeUnpin for ArrayFlags
impl UnwindSafe for ArrayFlags
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