Struct hybrid_array::Array
source · #[repr(transparent)]pub struct Array<T, U: ArraySize>(pub U::ArrayType<T>);
Expand description
Hybrid typenum-based and const generic array type.
Provides the flexibility of typenum-based expressions while also allowing interoperability and a transition path to const generics.
Tuple Fields§
§0: U::ArrayType<T>
Implementations§
Trait Implementations§
source§impl<T> ArrayOps<T, 0> for Array<T, U0>
impl<T> ArrayOps<T, 0> for Array<T, U0>
source§fn as_array_ref(&self) -> &[T; 0]
fn as_array_ref(&self) -> &[T; 0]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 0]
fn as_array_mut(&mut self) -> &mut [T; 0]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 0]) -> Self
fn from_core_array(arr: [T; 0]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 0]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 0]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 1> for Array<T, U1>
impl<T> ArrayOps<T, 1> for Array<T, U1>
source§fn as_array_ref(&self) -> &[T; 1]
fn as_array_ref(&self) -> &[T; 1]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 1]
fn as_array_mut(&mut self) -> &mut [T; 1]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 1]) -> Self
fn from_core_array(arr: [T; 1]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 1]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 1]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 10> for Array<T, U10>
impl<T> ArrayOps<T, 10> for Array<T, U10>
source§fn as_array_ref(&self) -> &[T; 10]
fn as_array_ref(&self) -> &[T; 10]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 10]
fn as_array_mut(&mut self) -> &mut [T; 10]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 10]) -> Self
fn from_core_array(arr: [T; 10]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 10]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 10]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 1024> for Array<T, U1024>
impl<T> ArrayOps<T, 1024> for Array<T, U1024>
§type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
source§fn as_array_ref(&self) -> &[T; 1024]
fn as_array_ref(&self) -> &[T; 1024]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 1024]
fn as_array_mut(&mut self) -> &mut [T; 1024]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 1024]) -> Self
fn from_core_array(arr: [T; 1024]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 1024]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 1024]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 11> for Array<T, U11>
impl<T> ArrayOps<T, 11> for Array<T, U11>
source§fn as_array_ref(&self) -> &[T; 11]
fn as_array_ref(&self) -> &[T; 11]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 11]
fn as_array_mut(&mut self) -> &mut [T; 11]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 11]) -> Self
fn from_core_array(arr: [T; 11]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 11]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 11]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 12> for Array<T, U12>
impl<T> ArrayOps<T, 12> for Array<T, U12>
source§fn as_array_ref(&self) -> &[T; 12]
fn as_array_ref(&self) -> &[T; 12]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 12]
fn as_array_mut(&mut self) -> &mut [T; 12]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 12]) -> Self
fn from_core_array(arr: [T; 12]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 12]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 12]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 128> for Array<T, U128>
impl<T> ArrayOps<T, 128> for Array<T, U128>
source§fn as_array_ref(&self) -> &[T; 128]
fn as_array_ref(&self) -> &[T; 128]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 128]
fn as_array_mut(&mut self) -> &mut [T; 128]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 128]) -> Self
fn from_core_array(arr: [T; 128]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 128]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 128]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 13> for Array<T, U13>
impl<T> ArrayOps<T, 13> for Array<T, U13>
source§fn as_array_ref(&self) -> &[T; 13]
fn as_array_ref(&self) -> &[T; 13]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 13]
fn as_array_mut(&mut self) -> &mut [T; 13]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 13]) -> Self
fn from_core_array(arr: [T; 13]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 13]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 13]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 14> for Array<T, U14>
impl<T> ArrayOps<T, 14> for Array<T, U14>
source§fn as_array_ref(&self) -> &[T; 14]
fn as_array_ref(&self) -> &[T; 14]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 14]
fn as_array_mut(&mut self) -> &mut [T; 14]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 14]) -> Self
fn from_core_array(arr: [T; 14]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 14]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 14]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 15> for Array<T, U15>
impl<T> ArrayOps<T, 15> for Array<T, U15>
source§fn as_array_ref(&self) -> &[T; 15]
fn as_array_ref(&self) -> &[T; 15]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 15]
fn as_array_mut(&mut self) -> &mut [T; 15]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 15]) -> Self
fn from_core_array(arr: [T; 15]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 15]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 15]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 16> for Array<T, U16>
impl<T> ArrayOps<T, 16> for Array<T, U16>
source§fn as_array_ref(&self) -> &[T; 16]
fn as_array_ref(&self) -> &[T; 16]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 16]
fn as_array_mut(&mut self) -> &mut [T; 16]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 16]) -> Self
fn from_core_array(arr: [T; 16]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 16]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 16]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 17> for Array<T, U17>
impl<T> ArrayOps<T, 17> for Array<T, U17>
source§fn as_array_ref(&self) -> &[T; 17]
fn as_array_ref(&self) -> &[T; 17]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 17]
fn as_array_mut(&mut self) -> &mut [T; 17]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 17]) -> Self
fn from_core_array(arr: [T; 17]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 17]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 17]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 18> for Array<T, U18>
impl<T> ArrayOps<T, 18> for Array<T, U18>
source§fn as_array_ref(&self) -> &[T; 18]
fn as_array_ref(&self) -> &[T; 18]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 18]
fn as_array_mut(&mut self) -> &mut [T; 18]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 18]) -> Self
fn from_core_array(arr: [T; 18]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 18]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 18]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 19> for Array<T, U19>
impl<T> ArrayOps<T, 19> for Array<T, U19>
source§fn as_array_ref(&self) -> &[T; 19]
fn as_array_ref(&self) -> &[T; 19]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 19]
fn as_array_mut(&mut self) -> &mut [T; 19]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 19]) -> Self
fn from_core_array(arr: [T; 19]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 19]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 19]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 192> for Array<T, U192>
impl<T> ArrayOps<T, 192> for Array<T, U192>
source§fn as_array_ref(&self) -> &[T; 192]
fn as_array_ref(&self) -> &[T; 192]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 192]
fn as_array_mut(&mut self) -> &mut [T; 192]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 192]) -> Self
fn from_core_array(arr: [T; 192]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 192]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 192]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 2> for Array<T, U2>
impl<T> ArrayOps<T, 2> for Array<T, U2>
source§fn as_array_ref(&self) -> &[T; 2]
fn as_array_ref(&self) -> &[T; 2]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 2]
fn as_array_mut(&mut self) -> &mut [T; 2]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 2]) -> Self
fn from_core_array(arr: [T; 2]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 2]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 2]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 20> for Array<T, U20>
impl<T> ArrayOps<T, 20> for Array<T, U20>
source§fn as_array_ref(&self) -> &[T; 20]
fn as_array_ref(&self) -> &[T; 20]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 20]
fn as_array_mut(&mut self) -> &mut [T; 20]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 20]) -> Self
fn from_core_array(arr: [T; 20]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 20]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 20]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 2048> for Array<T, U2048>
impl<T> ArrayOps<T, 2048> for Array<T, U2048>
§type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
source§fn as_array_ref(&self) -> &[T; 2048]
fn as_array_ref(&self) -> &[T; 2048]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 2048]
fn as_array_mut(&mut self) -> &mut [T; 2048]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 2048]) -> Self
fn from_core_array(arr: [T; 2048]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 2048]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 2048]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 21> for Array<T, U21>
impl<T> ArrayOps<T, 21> for Array<T, U21>
source§fn as_array_ref(&self) -> &[T; 21]
fn as_array_ref(&self) -> &[T; 21]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 21]
fn as_array_mut(&mut self) -> &mut [T; 21]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 21]) -> Self
fn from_core_array(arr: [T; 21]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 21]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 21]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 22> for Array<T, U22>
impl<T> ArrayOps<T, 22> for Array<T, U22>
source§fn as_array_ref(&self) -> &[T; 22]
fn as_array_ref(&self) -> &[T; 22]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 22]
fn as_array_mut(&mut self) -> &mut [T; 22]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 22]) -> Self
fn from_core_array(arr: [T; 22]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 22]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 22]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 23> for Array<T, U23>
impl<T> ArrayOps<T, 23> for Array<T, U23>
source§fn as_array_ref(&self) -> &[T; 23]
fn as_array_ref(&self) -> &[T; 23]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 23]
fn as_array_mut(&mut self) -> &mut [T; 23]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 23]) -> Self
fn from_core_array(arr: [T; 23]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 23]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 23]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 24> for Array<T, U24>
impl<T> ArrayOps<T, 24> for Array<T, U24>
source§fn as_array_ref(&self) -> &[T; 24]
fn as_array_ref(&self) -> &[T; 24]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 24]
fn as_array_mut(&mut self) -> &mut [T; 24]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 24]) -> Self
fn from_core_array(arr: [T; 24]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 24]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 24]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 25> for Array<T, U25>
impl<T> ArrayOps<T, 25> for Array<T, U25>
source§fn as_array_ref(&self) -> &[T; 25]
fn as_array_ref(&self) -> &[T; 25]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 25]
fn as_array_mut(&mut self) -> &mut [T; 25]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 25]) -> Self
fn from_core_array(arr: [T; 25]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 25]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 25]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 256> for Array<T, U256>
impl<T> ArrayOps<T, 256> for Array<T, U256>
§type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
source§fn as_array_ref(&self) -> &[T; 256]
fn as_array_ref(&self) -> &[T; 256]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 256]
fn as_array_mut(&mut self) -> &mut [T; 256]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 256]) -> Self
fn from_core_array(arr: [T; 256]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 256]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 256]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 26> for Array<T, U26>
impl<T> ArrayOps<T, 26> for Array<T, U26>
source§fn as_array_ref(&self) -> &[T; 26]
fn as_array_ref(&self) -> &[T; 26]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 26]
fn as_array_mut(&mut self) -> &mut [T; 26]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 26]) -> Self
fn from_core_array(arr: [T; 26]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 26]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 26]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 27> for Array<T, U27>
impl<T> ArrayOps<T, 27> for Array<T, U27>
source§fn as_array_ref(&self) -> &[T; 27]
fn as_array_ref(&self) -> &[T; 27]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 27]
fn as_array_mut(&mut self) -> &mut [T; 27]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 27]) -> Self
fn from_core_array(arr: [T; 27]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 27]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 27]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 28> for Array<T, U28>
impl<T> ArrayOps<T, 28> for Array<T, U28>
source§fn as_array_ref(&self) -> &[T; 28]
fn as_array_ref(&self) -> &[T; 28]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 28]
fn as_array_mut(&mut self) -> &mut [T; 28]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 28]) -> Self
fn from_core_array(arr: [T; 28]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 28]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 28]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 29> for Array<T, U29>
impl<T> ArrayOps<T, 29> for Array<T, U29>
source§fn as_array_ref(&self) -> &[T; 29]
fn as_array_ref(&self) -> &[T; 29]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 29]
fn as_array_mut(&mut self) -> &mut [T; 29]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 29]) -> Self
fn from_core_array(arr: [T; 29]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 29]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 29]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 3> for Array<T, U3>
impl<T> ArrayOps<T, 3> for Array<T, U3>
source§fn as_array_ref(&self) -> &[T; 3]
fn as_array_ref(&self) -> &[T; 3]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 3]
fn as_array_mut(&mut self) -> &mut [T; 3]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 3]) -> Self
fn from_core_array(arr: [T; 3]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 3]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 3]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 30> for Array<T, U30>
impl<T> ArrayOps<T, 30> for Array<T, U30>
source§fn as_array_ref(&self) -> &[T; 30]
fn as_array_ref(&self) -> &[T; 30]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 30]
fn as_array_mut(&mut self) -> &mut [T; 30]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 30]) -> Self
fn from_core_array(arr: [T; 30]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 30]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 30]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 31> for Array<T, U31>
impl<T> ArrayOps<T, 31> for Array<T, U31>
source§fn as_array_ref(&self) -> &[T; 31]
fn as_array_ref(&self) -> &[T; 31]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 31]
fn as_array_mut(&mut self) -> &mut [T; 31]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 31]) -> Self
fn from_core_array(arr: [T; 31]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 31]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 31]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 32> for Array<T, U32>
impl<T> ArrayOps<T, 32> for Array<T, U32>
source§fn as_array_ref(&self) -> &[T; 32]
fn as_array_ref(&self) -> &[T; 32]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 32]
fn as_array_mut(&mut self) -> &mut [T; 32]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 32]) -> Self
fn from_core_array(arr: [T; 32]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 32]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 32]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 33> for Array<T, U33>
impl<T> ArrayOps<T, 33> for Array<T, U33>
source§fn as_array_ref(&self) -> &[T; 33]
fn as_array_ref(&self) -> &[T; 33]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 33]
fn as_array_mut(&mut self) -> &mut [T; 33]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 33]) -> Self
fn from_core_array(arr: [T; 33]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 33]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 33]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 34> for Array<T, U34>
impl<T> ArrayOps<T, 34> for Array<T, U34>
source§fn as_array_ref(&self) -> &[T; 34]
fn as_array_ref(&self) -> &[T; 34]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 34]
fn as_array_mut(&mut self) -> &mut [T; 34]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 34]) -> Self
fn from_core_array(arr: [T; 34]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 34]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 34]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 35> for Array<T, U35>
impl<T> ArrayOps<T, 35> for Array<T, U35>
source§fn as_array_ref(&self) -> &[T; 35]
fn as_array_ref(&self) -> &[T; 35]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 35]
fn as_array_mut(&mut self) -> &mut [T; 35]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 35]) -> Self
fn from_core_array(arr: [T; 35]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 35]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 35]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 36> for Array<T, U36>
impl<T> ArrayOps<T, 36> for Array<T, U36>
source§fn as_array_ref(&self) -> &[T; 36]
fn as_array_ref(&self) -> &[T; 36]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 36]
fn as_array_mut(&mut self) -> &mut [T; 36]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 36]) -> Self
fn from_core_array(arr: [T; 36]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 36]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 36]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 37> for Array<T, U37>
impl<T> ArrayOps<T, 37> for Array<T, U37>
source§fn as_array_ref(&self) -> &[T; 37]
fn as_array_ref(&self) -> &[T; 37]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 37]
fn as_array_mut(&mut self) -> &mut [T; 37]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 37]) -> Self
fn from_core_array(arr: [T; 37]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 37]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 37]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 38> for Array<T, U38>
impl<T> ArrayOps<T, 38> for Array<T, U38>
source§fn as_array_ref(&self) -> &[T; 38]
fn as_array_ref(&self) -> &[T; 38]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 38]
fn as_array_mut(&mut self) -> &mut [T; 38]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 38]) -> Self
fn from_core_array(arr: [T; 38]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 38]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 38]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 384> for Array<T, U384>
impl<T> ArrayOps<T, 384> for Array<T, U384>
§type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
source§fn as_array_ref(&self) -> &[T; 384]
fn as_array_ref(&self) -> &[T; 384]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 384]
fn as_array_mut(&mut self) -> &mut [T; 384]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 384]) -> Self
fn from_core_array(arr: [T; 384]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 384]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 384]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 39> for Array<T, U39>
impl<T> ArrayOps<T, 39> for Array<T, U39>
source§fn as_array_ref(&self) -> &[T; 39]
fn as_array_ref(&self) -> &[T; 39]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 39]
fn as_array_mut(&mut self) -> &mut [T; 39]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 39]) -> Self
fn from_core_array(arr: [T; 39]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 39]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 39]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 4> for Array<T, U4>
impl<T> ArrayOps<T, 4> for Array<T, U4>
source§fn as_array_ref(&self) -> &[T; 4]
fn as_array_ref(&self) -> &[T; 4]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 4]
fn as_array_mut(&mut self) -> &mut [T; 4]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 4]) -> Self
fn from_core_array(arr: [T; 4]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 4]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 4]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 40> for Array<T, U40>
impl<T> ArrayOps<T, 40> for Array<T, U40>
source§fn as_array_ref(&self) -> &[T; 40]
fn as_array_ref(&self) -> &[T; 40]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 40]
fn as_array_mut(&mut self) -> &mut [T; 40]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 40]) -> Self
fn from_core_array(arr: [T; 40]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 40]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 40]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 4096> for Array<T, U4096>
impl<T> ArrayOps<T, 4096> for Array<T, U4096>
§type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
source§fn as_array_ref(&self) -> &[T; 4096]
fn as_array_ref(&self) -> &[T; 4096]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 4096]
fn as_array_mut(&mut self) -> &mut [T; 4096]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 4096]) -> Self
fn from_core_array(arr: [T; 4096]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 4096]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 4096]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 41> for Array<T, U41>
impl<T> ArrayOps<T, 41> for Array<T, U41>
source§fn as_array_ref(&self) -> &[T; 41]
fn as_array_ref(&self) -> &[T; 41]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 41]
fn as_array_mut(&mut self) -> &mut [T; 41]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 41]) -> Self
fn from_core_array(arr: [T; 41]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 41]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 41]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 42> for Array<T, U42>
impl<T> ArrayOps<T, 42> for Array<T, U42>
source§fn as_array_ref(&self) -> &[T; 42]
fn as_array_ref(&self) -> &[T; 42]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 42]
fn as_array_mut(&mut self) -> &mut [T; 42]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 42]) -> Self
fn from_core_array(arr: [T; 42]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 42]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 42]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 43> for Array<T, U43>
impl<T> ArrayOps<T, 43> for Array<T, U43>
source§fn as_array_ref(&self) -> &[T; 43]
fn as_array_ref(&self) -> &[T; 43]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 43]
fn as_array_mut(&mut self) -> &mut [T; 43]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 43]) -> Self
fn from_core_array(arr: [T; 43]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 43]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 43]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 44> for Array<T, U44>
impl<T> ArrayOps<T, 44> for Array<T, U44>
source§fn as_array_ref(&self) -> &[T; 44]
fn as_array_ref(&self) -> &[T; 44]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 44]
fn as_array_mut(&mut self) -> &mut [T; 44]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 44]) -> Self
fn from_core_array(arr: [T; 44]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 44]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 44]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 448> for Array<T, U448>
impl<T> ArrayOps<T, 448> for Array<T, U448>
§type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>
type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>
source§fn as_array_ref(&self) -> &[T; 448]
fn as_array_ref(&self) -> &[T; 448]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 448]
fn as_array_mut(&mut self) -> &mut [T; 448]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 448]) -> Self
fn from_core_array(arr: [T; 448]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 448]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 448]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 45> for Array<T, U45>
impl<T> ArrayOps<T, 45> for Array<T, U45>
source§fn as_array_ref(&self) -> &[T; 45]
fn as_array_ref(&self) -> &[T; 45]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 45]
fn as_array_mut(&mut self) -> &mut [T; 45]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 45]) -> Self
fn from_core_array(arr: [T; 45]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 45]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 45]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 46> for Array<T, U46>
impl<T> ArrayOps<T, 46> for Array<T, U46>
source§fn as_array_ref(&self) -> &[T; 46]
fn as_array_ref(&self) -> &[T; 46]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 46]
fn as_array_mut(&mut self) -> &mut [T; 46]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 46]) -> Self
fn from_core_array(arr: [T; 46]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 46]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 46]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 47> for Array<T, U47>
impl<T> ArrayOps<T, 47> for Array<T, U47>
source§fn as_array_ref(&self) -> &[T; 47]
fn as_array_ref(&self) -> &[T; 47]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 47]
fn as_array_mut(&mut self) -> &mut [T; 47]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 47]) -> Self
fn from_core_array(arr: [T; 47]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 47]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 47]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 48> for Array<T, U48>
impl<T> ArrayOps<T, 48> for Array<T, U48>
source§fn as_array_ref(&self) -> &[T; 48]
fn as_array_ref(&self) -> &[T; 48]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 48]
fn as_array_mut(&mut self) -> &mut [T; 48]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 48]) -> Self
fn from_core_array(arr: [T; 48]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 48]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 48]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 49> for Array<T, U49>
impl<T> ArrayOps<T, 49> for Array<T, U49>
source§fn as_array_ref(&self) -> &[T; 49]
fn as_array_ref(&self) -> &[T; 49]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 49]
fn as_array_mut(&mut self) -> &mut [T; 49]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 49]) -> Self
fn from_core_array(arr: [T; 49]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 49]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 49]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 5> for Array<T, U5>
impl<T> ArrayOps<T, 5> for Array<T, U5>
source§fn as_array_ref(&self) -> &[T; 5]
fn as_array_ref(&self) -> &[T; 5]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 5]
fn as_array_mut(&mut self) -> &mut [T; 5]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 5]) -> Self
fn from_core_array(arr: [T; 5]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 5]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 5]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 50> for Array<T, U50>
impl<T> ArrayOps<T, 50> for Array<T, U50>
source§fn as_array_ref(&self) -> &[T; 50]
fn as_array_ref(&self) -> &[T; 50]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 50]
fn as_array_mut(&mut self) -> &mut [T; 50]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 50]) -> Self
fn from_core_array(arr: [T; 50]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 50]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 50]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 51> for Array<T, U51>
impl<T> ArrayOps<T, 51> for Array<T, U51>
source§fn as_array_ref(&self) -> &[T; 51]
fn as_array_ref(&self) -> &[T; 51]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 51]
fn as_array_mut(&mut self) -> &mut [T; 51]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 51]) -> Self
fn from_core_array(arr: [T; 51]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 51]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 51]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 512> for Array<T, U512>
impl<T> ArrayOps<T, 512> for Array<T, U512>
§type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
source§fn as_array_ref(&self) -> &[T; 512]
fn as_array_ref(&self) -> &[T; 512]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 512]
fn as_array_mut(&mut self) -> &mut [T; 512]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 512]) -> Self
fn from_core_array(arr: [T; 512]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 512]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 512]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 52> for Array<T, U52>
impl<T> ArrayOps<T, 52> for Array<T, U52>
source§fn as_array_ref(&self) -> &[T; 52]
fn as_array_ref(&self) -> &[T; 52]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 52]
fn as_array_mut(&mut self) -> &mut [T; 52]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 52]) -> Self
fn from_core_array(arr: [T; 52]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 52]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 52]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 53> for Array<T, U53>
impl<T> ArrayOps<T, 53> for Array<T, U53>
source§fn as_array_ref(&self) -> &[T; 53]
fn as_array_ref(&self) -> &[T; 53]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 53]
fn as_array_mut(&mut self) -> &mut [T; 53]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 53]) -> Self
fn from_core_array(arr: [T; 53]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 53]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 53]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 54> for Array<T, U54>
impl<T> ArrayOps<T, 54> for Array<T, U54>
source§fn as_array_ref(&self) -> &[T; 54]
fn as_array_ref(&self) -> &[T; 54]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 54]
fn as_array_mut(&mut self) -> &mut [T; 54]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 54]) -> Self
fn from_core_array(arr: [T; 54]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 54]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 54]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 55> for Array<T, U55>
impl<T> ArrayOps<T, 55> for Array<T, U55>
source§fn as_array_ref(&self) -> &[T; 55]
fn as_array_ref(&self) -> &[T; 55]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 55]
fn as_array_mut(&mut self) -> &mut [T; 55]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 55]) -> Self
fn from_core_array(arr: [T; 55]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 55]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 55]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 56> for Array<T, U56>
impl<T> ArrayOps<T, 56> for Array<T, U56>
source§fn as_array_ref(&self) -> &[T; 56]
fn as_array_ref(&self) -> &[T; 56]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 56]
fn as_array_mut(&mut self) -> &mut [T; 56]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 56]) -> Self
fn from_core_array(arr: [T; 56]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 56]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 56]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 57> for Array<T, U57>
impl<T> ArrayOps<T, 57> for Array<T, U57>
source§fn as_array_ref(&self) -> &[T; 57]
fn as_array_ref(&self) -> &[T; 57]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 57]
fn as_array_mut(&mut self) -> &mut [T; 57]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 57]) -> Self
fn from_core_array(arr: [T; 57]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 57]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 57]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 58> for Array<T, U58>
impl<T> ArrayOps<T, 58> for Array<T, U58>
source§fn as_array_ref(&self) -> &[T; 58]
fn as_array_ref(&self) -> &[T; 58]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 58]
fn as_array_mut(&mut self) -> &mut [T; 58]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 58]) -> Self
fn from_core_array(arr: [T; 58]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 58]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 58]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 59> for Array<T, U59>
impl<T> ArrayOps<T, 59> for Array<T, U59>
source§fn as_array_ref(&self) -> &[T; 59]
fn as_array_ref(&self) -> &[T; 59]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 59]
fn as_array_mut(&mut self) -> &mut [T; 59]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 59]) -> Self
fn from_core_array(arr: [T; 59]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 59]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 59]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 6> for Array<T, U6>
impl<T> ArrayOps<T, 6> for Array<T, U6>
source§fn as_array_ref(&self) -> &[T; 6]
fn as_array_ref(&self) -> &[T; 6]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 6]
fn as_array_mut(&mut self) -> &mut [T; 6]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 6]) -> Self
fn from_core_array(arr: [T; 6]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 6]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 6]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 60> for Array<T, U60>
impl<T> ArrayOps<T, 60> for Array<T, U60>
source§fn as_array_ref(&self) -> &[T; 60]
fn as_array_ref(&self) -> &[T; 60]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 60]
fn as_array_mut(&mut self) -> &mut [T; 60]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 60]) -> Self
fn from_core_array(arr: [T; 60]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 60]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 60]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 61> for Array<T, U61>
impl<T> ArrayOps<T, 61> for Array<T, U61>
source§fn as_array_ref(&self) -> &[T; 61]
fn as_array_ref(&self) -> &[T; 61]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 61]
fn as_array_mut(&mut self) -> &mut [T; 61]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 61]) -> Self
fn from_core_array(arr: [T; 61]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 61]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 61]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 62> for Array<T, U62>
impl<T> ArrayOps<T, 62> for Array<T, U62>
source§fn as_array_ref(&self) -> &[T; 62]
fn as_array_ref(&self) -> &[T; 62]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 62]
fn as_array_mut(&mut self) -> &mut [T; 62]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 62]) -> Self
fn from_core_array(arr: [T; 62]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 62]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 62]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 63> for Array<T, U63>
impl<T> ArrayOps<T, 63> for Array<T, U63>
source§fn as_array_ref(&self) -> &[T; 63]
fn as_array_ref(&self) -> &[T; 63]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 63]
fn as_array_mut(&mut self) -> &mut [T; 63]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 63]) -> Self
fn from_core_array(arr: [T; 63]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 63]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 63]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 64> for Array<T, U64>
impl<T> ArrayOps<T, 64> for Array<T, U64>
source§fn as_array_ref(&self) -> &[T; 64]
fn as_array_ref(&self) -> &[T; 64]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 64]
fn as_array_mut(&mut self) -> &mut [T; 64]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 64]) -> Self
fn from_core_array(arr: [T; 64]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 64]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 64]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 7> for Array<T, U7>
impl<T> ArrayOps<T, 7> for Array<T, U7>
source§fn as_array_ref(&self) -> &[T; 7]
fn as_array_ref(&self) -> &[T; 7]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 7]
fn as_array_mut(&mut self) -> &mut [T; 7]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 7]) -> Self
fn from_core_array(arr: [T; 7]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 7]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 7]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 768> for Array<T, U768>
impl<T> ArrayOps<T, 768> for Array<T, U768>
§type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
source§fn as_array_ref(&self) -> &[T; 768]
fn as_array_ref(&self) -> &[T; 768]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 768]
fn as_array_mut(&mut self) -> &mut [T; 768]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 768]) -> Self
fn from_core_array(arr: [T; 768]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 768]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 768]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 8> for Array<T, U8>
impl<T> ArrayOps<T, 8> for Array<T, U8>
source§fn as_array_ref(&self) -> &[T; 8]
fn as_array_ref(&self) -> &[T; 8]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 8]
fn as_array_mut(&mut self) -> &mut [T; 8]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 8]) -> Self
fn from_core_array(arr: [T; 8]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 8]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 8]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 8192> for Array<T, U8192>
impl<T> ArrayOps<T, 8192> for Array<T, U8192>
§type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
source§fn as_array_ref(&self) -> &[T; 8192]
fn as_array_ref(&self) -> &[T; 8192]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 8192]
fn as_array_mut(&mut self) -> &mut [T; 8192]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 8192]) -> Self
fn from_core_array(arr: [T; 8192]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 8192]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 8192]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 896> for Array<T, U896>
impl<T> ArrayOps<T, 896> for Array<T, U896>
§type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
type Size = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
source§fn as_array_ref(&self) -> &[T; 896]
fn as_array_ref(&self) -> &[T; 896]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 896]
fn as_array_mut(&mut self) -> &mut [T; 896]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 896]) -> Self
fn from_core_array(arr: [T; 896]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 896]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 896]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 9> for Array<T, U9>
impl<T> ArrayOps<T, 9> for Array<T, U9>
source§fn as_array_ref(&self) -> &[T; 9]
fn as_array_ref(&self) -> &[T; 9]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 9]
fn as_array_mut(&mut self) -> &mut [T; 9]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 9]) -> Self
fn from_core_array(arr: [T; 9]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 9]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 9]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T> ArrayOps<T, 96> for Array<T, U96>
impl<T> ArrayOps<T, 96> for Array<T, U96>
source§fn as_array_ref(&self) -> &[T; 96]
fn as_array_ref(&self) -> &[T; 96]
Returns a reference to the inner array.
source§fn as_array_mut(&mut self) -> &mut [T; 96]
fn as_array_mut(&mut self) -> &mut [T; 96]
Returns a mutable reference to the inner array.
source§fn from_core_array(arr: [T; 96]) -> Self
fn from_core_array(arr: [T; 96]) -> Self
Create array from Rust’s core array type.
source§fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where
T: Copy,
fn from_slice(slice: &[T]) -> Result<Self, TryFromSliceError>where T: Copy,
Create array from a slice.
source§fn map<F, U>(self, f: F) -> [U; 96]where
F: FnMut(T) -> U,
fn map<F, U>(self, f: F) -> [U; 96]where F: FnMut(T) -> U,
Returns an array of the same size as
self
, with function f
applied to each element
in order.source§impl<T, U, const N: usize> AsMut<[T; N]> for Array<T, U>where
Self: ArrayOps<T, N>,
U: ArraySize,
impl<T, U, const N: usize> AsMut<[T; N]> for Array<T, U>where Self: ArrayOps<T, N>, U: ArraySize,
source§impl<T, U, const N: usize> AsRef<[T; N]> for Array<T, U>where
Self: ArrayOps<T, N>,
U: ArraySize,
impl<T, U, const N: usize> AsRef<[T; N]> for Array<T, U>where Self: ArrayOps<T, N>, U: ArraySize,
source§impl<T, U, const N: usize> Borrow<[T; N]> for Array<T, U>where
Self: ArrayOps<T, N>,
U: ArraySize,
impl<T, U, const N: usize> Borrow<[T; N]> for Array<T, U>where Self: ArrayOps<T, N>, U: ArraySize,
source§impl<T, U, const N: usize> BorrowMut<[T; N]> for Array<T, U>where
Self: ArrayOps<T, N>,
U: ArraySize,
impl<T, U, const N: usize> BorrowMut<[T; N]> for Array<T, U>where Self: ArrayOps<T, N>, U: ArraySize,
source§fn borrow_mut(&mut self) -> &mut [T; N]
fn borrow_mut(&mut self) -> &mut [T; N]
Mutably borrows from an owned value. Read more
source§impl<T, U, const N: usize> From<[T; N]> for Array<T, U>where
Self: ArrayOps<T, N>,
U: ArraySize,
impl<T, U, const N: usize> From<[T; N]> for Array<T, U>where Self: ArrayOps<T, N>, U: ArraySize,
source§impl<'a, T> IntoIterator for &'a Array<T, U0>
impl<'a, T> IntoIterator for &'a Array<T, U0>
source§impl<'a, T> IntoIterator for &'a Array<T, U1>
impl<'a, T> IntoIterator for &'a Array<T, U1>
source§impl<'a, T> IntoIterator for &'a Array<T, U10>
impl<'a, T> IntoIterator for &'a Array<T, U10>
source§impl<'a, T> IntoIterator for &'a Array<T, U1024>
impl<'a, T> IntoIterator for &'a Array<T, U1024>
source§impl<'a, T> IntoIterator for &'a Array<T, U11>
impl<'a, T> IntoIterator for &'a Array<T, U11>
source§impl<'a, T> IntoIterator for &'a Array<T, U12>
impl<'a, T> IntoIterator for &'a Array<T, U12>
source§impl<'a, T> IntoIterator for &'a Array<T, U128>
impl<'a, T> IntoIterator for &'a Array<T, U128>
source§impl<'a, T> IntoIterator for &'a Array<T, U13>
impl<'a, T> IntoIterator for &'a Array<T, U13>
source§impl<'a, T> IntoIterator for &'a Array<T, U14>
impl<'a, T> IntoIterator for &'a Array<T, U14>
source§impl<'a, T> IntoIterator for &'a Array<T, U15>
impl<'a, T> IntoIterator for &'a Array<T, U15>
source§impl<'a, T> IntoIterator for &'a Array<T, U16>
impl<'a, T> IntoIterator for &'a Array<T, U16>
source§impl<'a, T> IntoIterator for &'a Array<T, U17>
impl<'a, T> IntoIterator for &'a Array<T, U17>
source§impl<'a, T> IntoIterator for &'a Array<T, U18>
impl<'a, T> IntoIterator for &'a Array<T, U18>
source§impl<'a, T> IntoIterator for &'a Array<T, U19>
impl<'a, T> IntoIterator for &'a Array<T, U19>
source§impl<'a, T> IntoIterator for &'a Array<T, U192>
impl<'a, T> IntoIterator for &'a Array<T, U192>
source§impl<'a, T> IntoIterator for &'a Array<T, U2>
impl<'a, T> IntoIterator for &'a Array<T, U2>
source§impl<'a, T> IntoIterator for &'a Array<T, U20>
impl<'a, T> IntoIterator for &'a Array<T, U20>
source§impl<'a, T> IntoIterator for &'a Array<T, U2048>
impl<'a, T> IntoIterator for &'a Array<T, U2048>
source§impl<'a, T> IntoIterator for &'a Array<T, U21>
impl<'a, T> IntoIterator for &'a Array<T, U21>
source§impl<'a, T> IntoIterator for &'a Array<T, U22>
impl<'a, T> IntoIterator for &'a Array<T, U22>
source§impl<'a, T> IntoIterator for &'a Array<T, U23>
impl<'a, T> IntoIterator for &'a Array<T, U23>
source§impl<'a, T> IntoIterator for &'a Array<T, U24>
impl<'a, T> IntoIterator for &'a Array<T, U24>
source§impl<'a, T> IntoIterator for &'a Array<T, U25>
impl<'a, T> IntoIterator for &'a Array<T, U25>
source§impl<'a, T> IntoIterator for &'a Array<T, U256>
impl<'a, T> IntoIterator for &'a Array<T, U256>
source§impl<'a, T> IntoIterator for &'a Array<T, U26>
impl<'a, T> IntoIterator for &'a Array<T, U26>
source§impl<'a, T> IntoIterator for &'a Array<T, U27>
impl<'a, T> IntoIterator for &'a Array<T, U27>
source§impl<'a, T> IntoIterator for &'a Array<T, U28>
impl<'a, T> IntoIterator for &'a Array<T, U28>
source§impl<'a, T> IntoIterator for &'a Array<T, U29>
impl<'a, T> IntoIterator for &'a Array<T, U29>
source§impl<'a, T> IntoIterator for &'a Array<T, U3>
impl<'a, T> IntoIterator for &'a Array<T, U3>
source§impl<'a, T> IntoIterator for &'a Array<T, U30>
impl<'a, T> IntoIterator for &'a Array<T, U30>
source§impl<'a, T> IntoIterator for &'a Array<T, U31>
impl<'a, T> IntoIterator for &'a Array<T, U31>
source§impl<'a, T> IntoIterator for &'a Array<T, U32>
impl<'a, T> IntoIterator for &'a Array<T, U32>
source§impl<'a, T> IntoIterator for &'a Array<T, U33>
impl<'a, T> IntoIterator for &'a Array<T, U33>
source§impl<'a, T> IntoIterator for &'a Array<T, U34>
impl<'a, T> IntoIterator for &'a Array<T, U34>
source§impl<'a, T> IntoIterator for &'a Array<T, U35>
impl<'a, T> IntoIterator for &'a Array<T, U35>
source§impl<'a, T> IntoIterator for &'a Array<T, U36>
impl<'a, T> IntoIterator for &'a Array<T, U36>
source§impl<'a, T> IntoIterator for &'a Array<T, U37>
impl<'a, T> IntoIterator for &'a Array<T, U37>
source§impl<'a, T> IntoIterator for &'a Array<T, U38>
impl<'a, T> IntoIterator for &'a Array<T, U38>
source§impl<'a, T> IntoIterator for &'a Array<T, U384>
impl<'a, T> IntoIterator for &'a Array<T, U384>
source§impl<'a, T> IntoIterator for &'a Array<T, U39>
impl<'a, T> IntoIterator for &'a Array<T, U39>
source§impl<'a, T> IntoIterator for &'a Array<T, U4>
impl<'a, T> IntoIterator for &'a Array<T, U4>
source§impl<'a, T> IntoIterator for &'a Array<T, U40>
impl<'a, T> IntoIterator for &'a Array<T, U40>
source§impl<'a, T> IntoIterator for &'a Array<T, U4096>
impl<'a, T> IntoIterator for &'a Array<T, U4096>
source§impl<'a, T> IntoIterator for &'a Array<T, U41>
impl<'a, T> IntoIterator for &'a Array<T, U41>
source§impl<'a, T> IntoIterator for &'a Array<T, U42>
impl<'a, T> IntoIterator for &'a Array<T, U42>
source§impl<'a, T> IntoIterator for &'a Array<T, U43>
impl<'a, T> IntoIterator for &'a Array<T, U43>
source§impl<'a, T> IntoIterator for &'a Array<T, U44>
impl<'a, T> IntoIterator for &'a Array<T, U44>
source§impl<'a, T> IntoIterator for &'a Array<T, U448>
impl<'a, T> IntoIterator for &'a Array<T, U448>
source§impl<'a, T> IntoIterator for &'a Array<T, U45>
impl<'a, T> IntoIterator for &'a Array<T, U45>
source§impl<'a, T> IntoIterator for &'a Array<T, U46>
impl<'a, T> IntoIterator for &'a Array<T, U46>
source§impl<'a, T> IntoIterator for &'a Array<T, U47>
impl<'a, T> IntoIterator for &'a Array<T, U47>
source§impl<'a, T> IntoIterator for &'a Array<T, U48>
impl<'a, T> IntoIterator for &'a Array<T, U48>
source§impl<'a, T> IntoIterator for &'a Array<T, U49>
impl<'a, T> IntoIterator for &'a Array<T, U49>
source§impl<'a, T> IntoIterator for &'a Array<T, U5>
impl<'a, T> IntoIterator for &'a Array<T, U5>
source§impl<'a, T> IntoIterator for &'a Array<T, U50>
impl<'a, T> IntoIterator for &'a Array<T, U50>
source§impl<'a, T> IntoIterator for &'a Array<T, U51>
impl<'a, T> IntoIterator for &'a Array<T, U51>
source§impl<'a, T> IntoIterator for &'a Array<T, U512>
impl<'a, T> IntoIterator for &'a Array<T, U512>
source§impl<'a, T> IntoIterator for &'a Array<T, U52>
impl<'a, T> IntoIterator for &'a Array<T, U52>
source§impl<'a, T> IntoIterator for &'a Array<T, U53>
impl<'a, T> IntoIterator for &'a Array<T, U53>
source§impl<'a, T> IntoIterator for &'a Array<T, U54>
impl<'a, T> IntoIterator for &'a Array<T, U54>
source§impl<'a, T> IntoIterator for &'a Array<T, U55>
impl<'a, T> IntoIterator for &'a Array<T, U55>
source§impl<'a, T> IntoIterator for &'a Array<T, U56>
impl<'a, T> IntoIterator for &'a Array<T, U56>
source§impl<'a, T> IntoIterator for &'a Array<T, U57>
impl<'a, T> IntoIterator for &'a Array<T, U57>
source§impl<'a, T> IntoIterator for &'a Array<T, U58>
impl<'a, T> IntoIterator for &'a Array<T, U58>
source§impl<'a, T> IntoIterator for &'a Array<T, U59>
impl<'a, T> IntoIterator for &'a Array<T, U59>
source§impl<'a, T> IntoIterator for &'a Array<T, U6>
impl<'a, T> IntoIterator for &'a Array<T, U6>
source§impl<'a, T> IntoIterator for &'a Array<T, U60>
impl<'a, T> IntoIterator for &'a Array<T, U60>
source§impl<'a, T> IntoIterator for &'a Array<T, U61>
impl<'a, T> IntoIterator for &'a Array<T, U61>
source§impl<'a, T> IntoIterator for &'a Array<T, U62>
impl<'a, T> IntoIterator for &'a Array<T, U62>
source§impl<'a, T> IntoIterator for &'a Array<T, U63>
impl<'a, T> IntoIterator for &'a Array<T, U63>
source§impl<'a, T> IntoIterator for &'a Array<T, U64>
impl<'a, T> IntoIterator for &'a Array<T, U64>
source§impl<'a, T> IntoIterator for &'a Array<T, U7>
impl<'a, T> IntoIterator for &'a Array<T, U7>
source§impl<'a, T> IntoIterator for &'a Array<T, U768>
impl<'a, T> IntoIterator for &'a Array<T, U768>
source§impl<'a, T> IntoIterator for &'a Array<T, U8>
impl<'a, T> IntoIterator for &'a Array<T, U8>
source§impl<'a, T> IntoIterator for &'a Array<T, U8192>
impl<'a, T> IntoIterator for &'a Array<T, U8192>
source§impl<'a, T> IntoIterator for &'a Array<T, U896>
impl<'a, T> IntoIterator for &'a Array<T, U896>
source§impl<'a, T> IntoIterator for &'a Array<T, U9>
impl<'a, T> IntoIterator for &'a Array<T, U9>
source§impl<'a, T> IntoIterator for &'a Array<T, U96>
impl<'a, T> IntoIterator for &'a Array<T, U96>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U0>
impl<'a, T> IntoIterator for &'a mut Array<T, U0>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U1>
impl<'a, T> IntoIterator for &'a mut Array<T, U1>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U10>
impl<'a, T> IntoIterator for &'a mut Array<T, U10>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U1024>
impl<'a, T> IntoIterator for &'a mut Array<T, U1024>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U11>
impl<'a, T> IntoIterator for &'a mut Array<T, U11>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U12>
impl<'a, T> IntoIterator for &'a mut Array<T, U12>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U128>
impl<'a, T> IntoIterator for &'a mut Array<T, U128>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U13>
impl<'a, T> IntoIterator for &'a mut Array<T, U13>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U14>
impl<'a, T> IntoIterator for &'a mut Array<T, U14>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U15>
impl<'a, T> IntoIterator for &'a mut Array<T, U15>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U16>
impl<'a, T> IntoIterator for &'a mut Array<T, U16>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U17>
impl<'a, T> IntoIterator for &'a mut Array<T, U17>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U18>
impl<'a, T> IntoIterator for &'a mut Array<T, U18>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U19>
impl<'a, T> IntoIterator for &'a mut Array<T, U19>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U192>
impl<'a, T> IntoIterator for &'a mut Array<T, U192>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U2>
impl<'a, T> IntoIterator for &'a mut Array<T, U2>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U20>
impl<'a, T> IntoIterator for &'a mut Array<T, U20>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U2048>
impl<'a, T> IntoIterator for &'a mut Array<T, U2048>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U21>
impl<'a, T> IntoIterator for &'a mut Array<T, U21>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U22>
impl<'a, T> IntoIterator for &'a mut Array<T, U22>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U23>
impl<'a, T> IntoIterator for &'a mut Array<T, U23>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U24>
impl<'a, T> IntoIterator for &'a mut Array<T, U24>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U25>
impl<'a, T> IntoIterator for &'a mut Array<T, U25>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U256>
impl<'a, T> IntoIterator for &'a mut Array<T, U256>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U26>
impl<'a, T> IntoIterator for &'a mut Array<T, U26>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U27>
impl<'a, T> IntoIterator for &'a mut Array<T, U27>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U28>
impl<'a, T> IntoIterator for &'a mut Array<T, U28>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U29>
impl<'a, T> IntoIterator for &'a mut Array<T, U29>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U3>
impl<'a, T> IntoIterator for &'a mut Array<T, U3>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U30>
impl<'a, T> IntoIterator for &'a mut Array<T, U30>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U31>
impl<'a, T> IntoIterator for &'a mut Array<T, U31>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U32>
impl<'a, T> IntoIterator for &'a mut Array<T, U32>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U33>
impl<'a, T> IntoIterator for &'a mut Array<T, U33>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U34>
impl<'a, T> IntoIterator for &'a mut Array<T, U34>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U35>
impl<'a, T> IntoIterator for &'a mut Array<T, U35>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U36>
impl<'a, T> IntoIterator for &'a mut Array<T, U36>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U37>
impl<'a, T> IntoIterator for &'a mut Array<T, U37>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U38>
impl<'a, T> IntoIterator for &'a mut Array<T, U38>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U384>
impl<'a, T> IntoIterator for &'a mut Array<T, U384>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U39>
impl<'a, T> IntoIterator for &'a mut Array<T, U39>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U4>
impl<'a, T> IntoIterator for &'a mut Array<T, U4>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U40>
impl<'a, T> IntoIterator for &'a mut Array<T, U40>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U4096>
impl<'a, T> IntoIterator for &'a mut Array<T, U4096>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U41>
impl<'a, T> IntoIterator for &'a mut Array<T, U41>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U42>
impl<'a, T> IntoIterator for &'a mut Array<T, U42>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U43>
impl<'a, T> IntoIterator for &'a mut Array<T, U43>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U44>
impl<'a, T> IntoIterator for &'a mut Array<T, U44>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U448>
impl<'a, T> IntoIterator for &'a mut Array<T, U448>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U45>
impl<'a, T> IntoIterator for &'a mut Array<T, U45>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U46>
impl<'a, T> IntoIterator for &'a mut Array<T, U46>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U47>
impl<'a, T> IntoIterator for &'a mut Array<T, U47>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U48>
impl<'a, T> IntoIterator for &'a mut Array<T, U48>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U49>
impl<'a, T> IntoIterator for &'a mut Array<T, U49>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U5>
impl<'a, T> IntoIterator for &'a mut Array<T, U5>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U50>
impl<'a, T> IntoIterator for &'a mut Array<T, U50>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U51>
impl<'a, T> IntoIterator for &'a mut Array<T, U51>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U512>
impl<'a, T> IntoIterator for &'a mut Array<T, U512>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U52>
impl<'a, T> IntoIterator for &'a mut Array<T, U52>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U53>
impl<'a, T> IntoIterator for &'a mut Array<T, U53>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U54>
impl<'a, T> IntoIterator for &'a mut Array<T, U54>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U55>
impl<'a, T> IntoIterator for &'a mut Array<T, U55>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U56>
impl<'a, T> IntoIterator for &'a mut Array<T, U56>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U57>
impl<'a, T> IntoIterator for &'a mut Array<T, U57>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U58>
impl<'a, T> IntoIterator for &'a mut Array<T, U58>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U59>
impl<'a, T> IntoIterator for &'a mut Array<T, U59>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U6>
impl<'a, T> IntoIterator for &'a mut Array<T, U6>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U60>
impl<'a, T> IntoIterator for &'a mut Array<T, U60>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U61>
impl<'a, T> IntoIterator for &'a mut Array<T, U61>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U62>
impl<'a, T> IntoIterator for &'a mut Array<T, U62>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U63>
impl<'a, T> IntoIterator for &'a mut Array<T, U63>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U64>
impl<'a, T> IntoIterator for &'a mut Array<T, U64>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U7>
impl<'a, T> IntoIterator for &'a mut Array<T, U7>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U768>
impl<'a, T> IntoIterator for &'a mut Array<T, U768>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U8>
impl<'a, T> IntoIterator for &'a mut Array<T, U8>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U8192>
impl<'a, T> IntoIterator for &'a mut Array<T, U8192>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U896>
impl<'a, T> IntoIterator for &'a mut Array<T, U896>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U9>
impl<'a, T> IntoIterator for &'a mut Array<T, U9>
source§impl<'a, T> IntoIterator for &'a mut Array<T, U96>
impl<'a, T> IntoIterator for &'a mut Array<T, U96>
source§impl<T> IntoIterator for Array<T, U0>
impl<T> IntoIterator for Array<T, U0>
source§impl<T> IntoIterator for Array<T, U1>
impl<T> IntoIterator for Array<T, U1>
source§impl<T> IntoIterator for Array<T, U10>
impl<T> IntoIterator for Array<T, U10>
source§impl<T> IntoIterator for Array<T, U1024>
impl<T> IntoIterator for Array<T, U1024>
source§impl<T> IntoIterator for Array<T, U11>
impl<T> IntoIterator for Array<T, U11>
source§impl<T> IntoIterator for Array<T, U12>
impl<T> IntoIterator for Array<T, U12>
source§impl<T> IntoIterator for Array<T, U128>
impl<T> IntoIterator for Array<T, U128>
source§impl<T> IntoIterator for Array<T, U13>
impl<T> IntoIterator for Array<T, U13>
source§impl<T> IntoIterator for Array<T, U14>
impl<T> IntoIterator for Array<T, U14>
source§impl<T> IntoIterator for Array<T, U15>
impl<T> IntoIterator for Array<T, U15>
source§impl<T> IntoIterator for Array<T, U16>
impl<T> IntoIterator for Array<T, U16>
source§impl<T> IntoIterator for Array<T, U17>
impl<T> IntoIterator for Array<T, U17>
source§impl<T> IntoIterator for Array<T, U18>
impl<T> IntoIterator for Array<T, U18>
source§impl<T> IntoIterator for Array<T, U19>
impl<T> IntoIterator for Array<T, U19>
source§impl<T> IntoIterator for Array<T, U192>
impl<T> IntoIterator for Array<T, U192>
source§impl<T> IntoIterator for Array<T, U2>
impl<T> IntoIterator for Array<T, U2>
source§impl<T> IntoIterator for Array<T, U20>
impl<T> IntoIterator for Array<T, U20>
source§impl<T> IntoIterator for Array<T, U2048>
impl<T> IntoIterator for Array<T, U2048>
source§impl<T> IntoIterator for Array<T, U21>
impl<T> IntoIterator for Array<T, U21>
source§impl<T> IntoIterator for Array<T, U22>
impl<T> IntoIterator for Array<T, U22>
source§impl<T> IntoIterator for Array<T, U23>
impl<T> IntoIterator for Array<T, U23>
source§impl<T> IntoIterator for Array<T, U24>
impl<T> IntoIterator for Array<T, U24>
source§impl<T> IntoIterator for Array<T, U25>
impl<T> IntoIterator for Array<T, U25>
source§impl<T> IntoIterator for Array<T, U256>
impl<T> IntoIterator for Array<T, U256>
source§impl<T> IntoIterator for Array<T, U26>
impl<T> IntoIterator for Array<T, U26>
source§impl<T> IntoIterator for Array<T, U27>
impl<T> IntoIterator for Array<T, U27>
source§impl<T> IntoIterator for Array<T, U28>
impl<T> IntoIterator for Array<T, U28>
source§impl<T> IntoIterator for Array<T, U29>
impl<T> IntoIterator for Array<T, U29>
source§impl<T> IntoIterator for Array<T, U3>
impl<T> IntoIterator for Array<T, U3>
source§impl<T> IntoIterator for Array<T, U30>
impl<T> IntoIterator for Array<T, U30>
source§impl<T> IntoIterator for Array<T, U31>
impl<T> IntoIterator for Array<T, U31>
source§impl<T> IntoIterator for Array<T, U32>
impl<T> IntoIterator for Array<T, U32>
source§impl<T> IntoIterator for Array<T, U33>
impl<T> IntoIterator for Array<T, U33>
source§impl<T> IntoIterator for Array<T, U34>
impl<T> IntoIterator for Array<T, U34>
source§impl<T> IntoIterator for Array<T, U35>
impl<T> IntoIterator for Array<T, U35>
source§impl<T> IntoIterator for Array<T, U36>
impl<T> IntoIterator for Array<T, U36>
source§impl<T> IntoIterator for Array<T, U37>
impl<T> IntoIterator for Array<T, U37>
source§impl<T> IntoIterator for Array<T, U38>
impl<T> IntoIterator for Array<T, U38>
source§impl<T> IntoIterator for Array<T, U384>
impl<T> IntoIterator for Array<T, U384>
source§impl<T> IntoIterator for Array<T, U39>
impl<T> IntoIterator for Array<T, U39>
source§impl<T> IntoIterator for Array<T, U4>
impl<T> IntoIterator for Array<T, U4>
source§impl<T> IntoIterator for Array<T, U40>
impl<T> IntoIterator for Array<T, U40>
source§impl<T> IntoIterator for Array<T, U4096>
impl<T> IntoIterator for Array<T, U4096>
source§impl<T> IntoIterator for Array<T, U41>
impl<T> IntoIterator for Array<T, U41>
source§impl<T> IntoIterator for Array<T, U42>
impl<T> IntoIterator for Array<T, U42>
source§impl<T> IntoIterator for Array<T, U43>
impl<T> IntoIterator for Array<T, U43>
source§impl<T> IntoIterator for Array<T, U44>
impl<T> IntoIterator for Array<T, U44>
source§impl<T> IntoIterator for Array<T, U448>
impl<T> IntoIterator for Array<T, U448>
source§impl<T> IntoIterator for Array<T, U45>
impl<T> IntoIterator for Array<T, U45>
source§impl<T> IntoIterator for Array<T, U46>
impl<T> IntoIterator for Array<T, U46>
source§impl<T> IntoIterator for Array<T, U47>
impl<T> IntoIterator for Array<T, U47>
source§impl<T> IntoIterator for Array<T, U48>
impl<T> IntoIterator for Array<T, U48>
source§impl<T> IntoIterator for Array<T, U49>
impl<T> IntoIterator for Array<T, U49>
source§impl<T> IntoIterator for Array<T, U5>
impl<T> IntoIterator for Array<T, U5>
source§impl<T> IntoIterator for Array<T, U50>
impl<T> IntoIterator for Array<T, U50>
source§impl<T> IntoIterator for Array<T, U51>
impl<T> IntoIterator for Array<T, U51>
source§impl<T> IntoIterator for Array<T, U512>
impl<T> IntoIterator for Array<T, U512>
source§impl<T> IntoIterator for Array<T, U52>
impl<T> IntoIterator for Array<T, U52>
source§impl<T> IntoIterator for Array<T, U53>
impl<T> IntoIterator for Array<T, U53>
source§impl<T> IntoIterator for Array<T, U54>
impl<T> IntoIterator for Array<T, U54>
source§impl<T> IntoIterator for Array<T, U55>
impl<T> IntoIterator for Array<T, U55>
source§impl<T> IntoIterator for Array<T, U56>
impl<T> IntoIterator for Array<T, U56>
source§impl<T> IntoIterator for Array<T, U57>
impl<T> IntoIterator for Array<T, U57>
source§impl<T> IntoIterator for Array<T, U58>
impl<T> IntoIterator for Array<T, U58>
source§impl<T> IntoIterator for Array<T, U59>
impl<T> IntoIterator for Array<T, U59>
source§impl<T> IntoIterator for Array<T, U6>
impl<T> IntoIterator for Array<T, U6>
source§impl<T> IntoIterator for Array<T, U60>
impl<T> IntoIterator for Array<T, U60>
source§impl<T> IntoIterator for Array<T, U61>
impl<T> IntoIterator for Array<T, U61>
source§impl<T> IntoIterator for Array<T, U62>
impl<T> IntoIterator for Array<T, U62>
source§impl<T> IntoIterator for Array<T, U63>
impl<T> IntoIterator for Array<T, U63>
source§impl<T> IntoIterator for Array<T, U64>
impl<T> IntoIterator for Array<T, U64>
source§impl<T> IntoIterator for Array<T, U7>
impl<T> IntoIterator for Array<T, U7>
source§impl<T> IntoIterator for Array<T, U768>
impl<T> IntoIterator for Array<T, U768>
source§impl<T> IntoIterator for Array<T, U8>
impl<T> IntoIterator for Array<T, U8>
source§impl<T> IntoIterator for Array<T, U8192>
impl<T> IntoIterator for Array<T, U8192>
source§impl<T> IntoIterator for Array<T, U896>
impl<T> IntoIterator for Array<T, U896>
source§impl<T> IntoIterator for Array<T, U9>
impl<T> IntoIterator for Array<T, U9>
source§impl<T> IntoIterator for Array<T, U96>
impl<T> IntoIterator for Array<T, U96>
source§impl<T: Ord, U: Ord + ArraySize> Ord for Array<T, U>where
U::ArrayType<T>: Ord,
impl<T: Ord, U: Ord + ArraySize> Ord for Array<T, U>where U::ArrayType<T>: Ord,
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T: PartialEq, U: PartialEq + ArraySize> PartialEq<Array<T, U>> for Array<T, U>where
U::ArrayType<T>: PartialEq,
impl<T: PartialEq, U: PartialEq + ArraySize> PartialEq<Array<T, U>> for Array<T, U>where U::ArrayType<T>: PartialEq,
source§impl<T: PartialOrd, U: PartialOrd + ArraySize> PartialOrd<Array<T, U>> for Array<T, U>where
U::ArrayType<T>: PartialOrd,
impl<T: PartialOrd, U: PartialOrd + ArraySize> PartialOrd<Array<T, U>> for Array<T, U>where U::ArrayType<T>: PartialOrd,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<'a, T, U> TryFrom<&'a [T]> for Array<T, U>where
T: Copy,
U: ArraySize,
U::ArrayType<T>: TryFrom<&'a [T], Error = TryFromSliceError>,
impl<'a, T, U> TryFrom<&'a [T]> for Array<T, U>where T: Copy, U: ArraySize, U::ArrayType<T>: TryFrom<&'a [T], Error = TryFromSliceError>,
§type Error = TryFromSliceError
type Error = TryFromSliceError
The type returned in the event of a conversion error.
impl<T: Copy, U: Copy + ArraySize> Copy for Array<T, U>where U::ArrayType<T>: Copy,
impl<T: Eq, U: Eq + ArraySize> Eq for Array<T, U>where U::ArrayType<T>: Eq,
impl<T, U: ArraySize> StructuralEq for Array<T, U>
impl<T, U: ArraySize> StructuralPartialEq for Array<T, U>
Auto Trait Implementations§
impl<T, U> RefUnwindSafe for Array<T, U>where <U as ArraySize>::ArrayType<T>: RefUnwindSafe,
impl<T, U> Send for Array<T, U>where <U as ArraySize>::ArrayType<T>: Send,
impl<T, U> Sync for Array<T, U>where <U as ArraySize>::ArrayType<T>: Sync,
impl<T, U> Unpin for Array<T, U>where <U as ArraySize>::ArrayType<T>: Unpin,
impl<T, U> UnwindSafe for Array<T, U>where <U as ArraySize>::ArrayType<T>: UnwindSafe,
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