#[repr(transparent)]pub struct DimensionShape(pub [u8; 16]);Tuple Fields§
§0: [u8; 16]Implementations§
Source§impl<'a> DimensionShape
impl<'a> DimensionShape
pub fn new(array_length: u64, chunk_length: u64) -> Self
pub fn array_length(&self) -> u64
pub fn set_array_length(&mut self, x: u64)
pub fn chunk_length(&self) -> u64
pub fn set_chunk_length(&mut self, x: u64)
Trait Implementations§
Source§impl Clone for DimensionShape
impl Clone for DimensionShape
Source§fn clone(&self) -> DimensionShape
fn clone(&self) -> DimensionShape
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 moreimpl Copy for DimensionShape
Source§impl Debug for DimensionShape
impl Debug for DimensionShape
Source§impl Default for DimensionShape
impl Default for DimensionShape
Source§impl<'a> Follow<'a> for DimensionShape
impl<'a> Follow<'a> for DimensionShape
Source§impl<'a> Follow<'a> for &'a DimensionShape
impl<'a> Follow<'a> for &'a DimensionShape
Source§impl PartialEq for DimensionShape
impl PartialEq for DimensionShape
Source§impl<'b> Push for DimensionShape
impl<'b> Push for DimensionShape
impl SimpleToVerifyInSlice for DimensionShape
impl StructuralPartialEq for DimensionShape
Source§impl TryFrom<&DimensionShape> for DimensionShape
impl TryFrom<&DimensionShape> for DimensionShape
Source§impl<'a> Verifiable for DimensionShape
impl<'a> Verifiable for DimensionShape
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.Auto Trait Implementations§
impl Freeze for DimensionShape
impl RefUnwindSafe for DimensionShape
impl Send for DimensionShape
impl Sync for DimensionShape
impl Unpin for DimensionShape
impl UnsafeUnpin for DimensionShape
impl UnwindSafe for DimensionShape
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more