pub struct ExtentContract {
pub rank: u8,
pub maximum_shape: Vec<u64>,
pub max_elements: u64,
pub ragged: bool,
pub sparse: bool,
}Fields§
§rank: u8Number of logical dimensions. Zero denotes an opaque scalar/blob atom.
maximum_shape: Vec<u64>Per-dimension upper bounds; exactly rank entries.
max_elements: u64§ragged: bool§sparse: boolTrait Implementations§
Source§impl Clone for ExtentContract
impl Clone for ExtentContract
Source§fn clone(&self) -> ExtentContract
fn clone(&self) -> ExtentContract
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExtentContract
impl Debug for ExtentContract
Source§impl<'de> Deserialize<'de> for ExtentContract
impl<'de> Deserialize<'de> for ExtentContract
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExtentContract
Source§impl PartialEq for ExtentContract
impl PartialEq for ExtentContract
Source§impl Serialize for ExtentContract
impl Serialize for ExtentContract
impl StructuralPartialEq for ExtentContract
Auto Trait Implementations§
impl Freeze for ExtentContract
impl RefUnwindSafe for ExtentContract
impl Send for ExtentContract
impl Sync for ExtentContract
impl Unpin for ExtentContract
impl UnsafeUnpin for ExtentContract
impl UnwindSafe for ExtentContract
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