pub unsafe trait Array: Sized {
type Item;
type Maybe: Array<Item = MaybeUninit<Self::Item>>;
const SIZE: usize;
// Required methods
fn as_slice(&self) -> &[Self::Item];
fn as_mut_slice(&mut self) -> &mut [Self::Item];
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
where F: FnMut(&mut St) -> Result<Self::Item, E>;
fn unfold<St, F>(init: St, f: F) -> Self
where F: FnMut(&mut St) -> Self::Item;
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
where F: FnMut(usize) -> Result<Self::Item, E>;
fn from_fn<F>(f: F) -> Self
where F: FnMut(usize) -> Self::Item;
fn try_from_iter<I>(iter: I) -> Option<Self>
where I: IntoIterator<Item = Self::Item>;
fn into_boxed_slice(self) -> Box<[Self::Item]>;
// Provided methods
fn from_iter<I>(iter: I) -> Self
where I: IntoIterator<Item = Self::Item> { ... }
fn into_uninit(self) -> Self::Maybe { ... }
fn uninit() -> Self::Maybe { ... }
unsafe fn assume_init(uninit: Self::Maybe) -> Self { ... }
}Expand description
Represent array of some size. E.g.: [u8; 32], [&str; 8], [T; N].
§Sizes
See Sizes Limitations paragraph in crate docs.
§Safety
By implementing this trait for type T you guarantee that
Thas the same ABI as[T::Item; T::Size]T::Maybeis an array of the same type ([MeybeUninit<T::Item>; T::Size])
Violating these rules will cause UB.
It is highly not recommended to implement this trait on your type unless you really know what you are doing.
Required Associated Constants§
Required Associated Types§
Sourcetype Maybe: Array<Item = MaybeUninit<Self::Item>>
type Maybe: Array<Item = MaybeUninit<Self::Item>>
Same array but item is wrapped with
MaybeUninit<_>.
[T; 4]: Array<Item = T, Maybe = [core::mem::MaybeUninit<T>; 4]>Required Methods§
Sourcefn as_slice(&self) -> &[Self::Item]
fn as_slice(&self) -> &[Self::Item]
Extracts a slice containing the entire array.
§Example
use arraylib::Array;
let array = [1, 2, 3];
assert_eq!(array.as_slice()[1..], [2, 3]);Sourcefn as_mut_slice(&mut self) -> &mut [Self::Item]
fn as_mut_slice(&mut self) -> &mut [Self::Item]
Extracts a mutable slice of the entire array.
§Example
use arraylib::Array;
let mut array = [1, 0, 1];
array.as_mut_slice()[1] = 2;
assert_eq!(array, [1, 2, 1]);Sourcefn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
Create new array, filled with elements returned by f. If f return
Err then this method also return Err.
§Example
use arraylib::Array;
let f = |it: &mut u32| {
let res = Ok(*it);
*it = it.checked_sub(10).ok_or(())?;
res
};
let arr = <[_; 3]>::try_unfold(30, f);
assert_eq!(arr, Ok([30, 20, 10]));
let arr = <[_; 10]>::try_unfold(40, f);
assert_eq!(arr, Err(()));Sourcefn unfold<St, F>(init: St, f: F) -> Self
fn unfold<St, F>(init: St, f: F) -> Self
Create new array, filled with elements returned by f
§Example
use arraylib::Array;
let arr = <[_; 11]>::unfold(1, |it| {
let res = *it;
*it *= -2;
res
});
assert_eq!(arr, [1, -2, 4, -8, 16, -32, 64, -128, 256, -512, 1024]);Sourcefn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
Create new array, filled with elements returned by f. If f return
Err then this method also return Err.
§Example
use arraylib::Array;
let f = |it| 250u8.checked_add(it as u8).ok_or(());
let arr = <[_; 3]>::try_from_fn(f);
assert_eq!(arr, Ok([250, 251, 252]));
let arr = <[_; 10]>::try_from_fn(f);
assert_eq!(arr, Err(()));Sourcefn from_fn<F>(f: F) -> Self
fn from_fn<F>(f: F) -> Self
Create new array, filled with elements returned by f
§Example
use arraylib::Array;
let arr = <[_; 11]>::from_fn(|it| it.pow(2));
assert_eq!(arr, [0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100]);Sourcefn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Creates an array from an iterator.
This method returns None if there are not enough elements to fill the
array.
§Examples
use arraylib::{Array, ArrayExt};
use std::iter::once;
let iter = [-2, -1, 0, 1, 2].iter_move().filter(|it| it % 2 == 0);
let arr = <[i32; 2]>::try_from_iter(iter);
assert_eq!(arr, Some([-2, 0]));
let arr = <[i32; 2]>::try_from_iter(once(0));
assert_eq!(arr, None);Sourcefn into_boxed_slice(self) -> Box<[Self::Item]>
Available on crate feature alloc only.
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Converts self into Box<[Self::Item]>
Provided Methods§
Sourcefn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = Self::Item>,
fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = Self::Item>,
Creates an array from an iterator.
§Examples
use arraylib::{Array, ArrayExt};
let iter = [-2, -1, 0, 1, 2].iter_move().filter(|it| it % 2 == 0);
let arr = <[i32; 2]>::from_iter(iter);
assert_eq!(arr, [-2, 0]);§Panics
If there are not enough elements to fill the array:
use arraylib::Array;
use std::iter::once;
let _ = <[i32; 2]>::from_iter(once(0));Sourcefn into_uninit(self) -> Self::Maybe
fn into_uninit(self) -> Self::Maybe
Converts self into [MaybeUninit<Self::Item>; Self::Size]. This
function is used internally in this crate for some unsafe code.
§Example
use arraylib::Array;
use std::mem::MaybeUninit;
let _: [MaybeUninit<bool>; 3] = [true, false, false].into_uninit();Sourcefn uninit() -> Self::Maybe
fn uninit() -> Self::Maybe
Creates uninitialized array of MaybeUninit<T>.
§Example
use arraylib::Array;
use std::mem::MaybeUninit;
let _: [MaybeUninit<i32>; 3] = <[i32; 3]>::uninit();Sourceunsafe fn assume_init(uninit: Self::Maybe) -> Self
unsafe fn assume_init(uninit: Self::Maybe) -> Self
Extracts the values from the MaybeUninit<T> containers.
§Safety
It is up to the caller to guarantee that all elements of the array are
really in an initialized state. Calling this when the content is not
yet fully initialized causes immediate undefined behavior. The
MaybeUninit's type-level documentation contains
more information about this initialization invariant.
See also MaybeUninit::assume_init documentation.
§Examples
Correct usage of this method:
use arraylib::Array;
use std::mem::MaybeUninit;
let mut arr: [MaybeUninit<bool>; 4] = <[bool; 4]>::uninit();
for x in arr.iter_mut() {
unsafe { x.as_mut_ptr().write(true) };
}
let arr_init: [bool; 4] = unsafe { <_>::assume_init(arr) };
assert_eq!(arr_init, [true; 4]);Incorrect usage of this method:
use arraylib::Array;
use std::mem::MaybeUninit;
let mut arr: [MaybeUninit<bool>; 4] = <[bool; 4]>::uninit();
for i in 0..3 {
unsafe { arr[i].as_mut_ptr().write(true) };
}
let arr_init: [bool; 4] = unsafe { <_>::assume_init(arr) };
// `arr[3]` had not been initialized yet, so this last line caused undefined behavior.Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl<T> Array for [T; 0]
impl<T> Array for [T; 0]
const SIZE: usize = 0
type Item = T
type Maybe = [MaybeUninit<T>; 0]
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(_init: St, _f: F) -> Result<Self, E>
fn unfold<St, F>(_init: St, _f: F) -> Self
fn try_from_fn<F, E>(_f: F) -> Result<Self, E>
fn from_fn<F>(_f: F) -> Self
fn try_from_iter<I>(_iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
fn into_uninit(self) -> Self::Maybe
Source§impl<T> Array for [T; 1]
impl<T> Array for [T; 1]
const SIZE: usize = 1
type Item = T
type Maybe = [MaybeUninit<T>; 1]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 2]
impl<T> Array for [T; 2]
const SIZE: usize = 2
type Item = T
type Maybe = [MaybeUninit<T>; 2]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 3]
impl<T> Array for [T; 3]
const SIZE: usize = 3
type Item = T
type Maybe = [MaybeUninit<T>; 3]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 4]
impl<T> Array for [T; 4]
const SIZE: usize = 4
type Item = T
type Maybe = [MaybeUninit<T>; 4]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 5]
impl<T> Array for [T; 5]
const SIZE: usize = 5
type Item = T
type Maybe = [MaybeUninit<T>; 5]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 6]
impl<T> Array for [T; 6]
const SIZE: usize = 6
type Item = T
type Maybe = [MaybeUninit<T>; 6]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 7]
impl<T> Array for [T; 7]
const SIZE: usize = 7
type Item = T
type Maybe = [MaybeUninit<T>; 7]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 8]
impl<T> Array for [T; 8]
const SIZE: usize = 8
type Item = T
type Maybe = [MaybeUninit<T>; 8]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 9]
impl<T> Array for [T; 9]
const SIZE: usize = 9
type Item = T
type Maybe = [MaybeUninit<T>; 9]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 10]
impl<T> Array for [T; 10]
const SIZE: usize = 10
type Item = T
type Maybe = [MaybeUninit<T>; 10]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 11]
impl<T> Array for [T; 11]
const SIZE: usize = 11
type Item = T
type Maybe = [MaybeUninit<T>; 11]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 12]
impl<T> Array for [T; 12]
const SIZE: usize = 12
type Item = T
type Maybe = [MaybeUninit<T>; 12]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 13]
impl<T> Array for [T; 13]
const SIZE: usize = 13
type Item = T
type Maybe = [MaybeUninit<T>; 13]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 14]
impl<T> Array for [T; 14]
const SIZE: usize = 14
type Item = T
type Maybe = [MaybeUninit<T>; 14]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 15]
impl<T> Array for [T; 15]
const SIZE: usize = 15
type Item = T
type Maybe = [MaybeUninit<T>; 15]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 16]
impl<T> Array for [T; 16]
const SIZE: usize = 16
type Item = T
type Maybe = [MaybeUninit<T>; 16]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 17]
impl<T> Array for [T; 17]
const SIZE: usize = 17
type Item = T
type Maybe = [MaybeUninit<T>; 17]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 18]
impl<T> Array for [T; 18]
const SIZE: usize = 18
type Item = T
type Maybe = [MaybeUninit<T>; 18]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 19]
impl<T> Array for [T; 19]
const SIZE: usize = 19
type Item = T
type Maybe = [MaybeUninit<T>; 19]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 20]
impl<T> Array for [T; 20]
const SIZE: usize = 20
type Item = T
type Maybe = [MaybeUninit<T>; 20]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 21]
impl<T> Array for [T; 21]
const SIZE: usize = 21
type Item = T
type Maybe = [MaybeUninit<T>; 21]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 22]
impl<T> Array for [T; 22]
const SIZE: usize = 22
type Item = T
type Maybe = [MaybeUninit<T>; 22]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 23]
impl<T> Array for [T; 23]
const SIZE: usize = 23
type Item = T
type Maybe = [MaybeUninit<T>; 23]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 24]
impl<T> Array for [T; 24]
const SIZE: usize = 24
type Item = T
type Maybe = [MaybeUninit<T>; 24]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 25]
impl<T> Array for [T; 25]
const SIZE: usize = 25
type Item = T
type Maybe = [MaybeUninit<T>; 25]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 26]
impl<T> Array for [T; 26]
const SIZE: usize = 26
type Item = T
type Maybe = [MaybeUninit<T>; 26]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 27]
impl<T> Array for [T; 27]
const SIZE: usize = 27
type Item = T
type Maybe = [MaybeUninit<T>; 27]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 28]
impl<T> Array for [T; 28]
const SIZE: usize = 28
type Item = T
type Maybe = [MaybeUninit<T>; 28]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 29]
impl<T> Array for [T; 29]
const SIZE: usize = 29
type Item = T
type Maybe = [MaybeUninit<T>; 29]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 30]
impl<T> Array for [T; 30]
const SIZE: usize = 30
type Item = T
type Maybe = [MaybeUninit<T>; 30]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 31]
impl<T> Array for [T; 31]
const SIZE: usize = 31
type Item = T
type Maybe = [MaybeUninit<T>; 31]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 32]
impl<T> Array for [T; 32]
const SIZE: usize = 32
type Item = T
type Maybe = [MaybeUninit<T>; 32]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 33]
impl<T> Array for [T; 33]
const SIZE: usize = 33
type Item = T
type Maybe = [MaybeUninit<T>; 33]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 34]
impl<T> Array for [T; 34]
const SIZE: usize = 34
type Item = T
type Maybe = [MaybeUninit<T>; 34]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 35]
impl<T> Array for [T; 35]
const SIZE: usize = 35
type Item = T
type Maybe = [MaybeUninit<T>; 35]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 36]
impl<T> Array for [T; 36]
const SIZE: usize = 36
type Item = T
type Maybe = [MaybeUninit<T>; 36]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 37]
impl<T> Array for [T; 37]
const SIZE: usize = 37
type Item = T
type Maybe = [MaybeUninit<T>; 37]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 38]
impl<T> Array for [T; 38]
const SIZE: usize = 38
type Item = T
type Maybe = [MaybeUninit<T>; 38]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 39]
impl<T> Array for [T; 39]
const SIZE: usize = 39
type Item = T
type Maybe = [MaybeUninit<T>; 39]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 40]
impl<T> Array for [T; 40]
const SIZE: usize = 40
type Item = T
type Maybe = [MaybeUninit<T>; 40]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 41]
impl<T> Array for [T; 41]
const SIZE: usize = 41
type Item = T
type Maybe = [MaybeUninit<T>; 41]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 42]
impl<T> Array for [T; 42]
const SIZE: usize = 42
type Item = T
type Maybe = [MaybeUninit<T>; 42]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 43]
impl<T> Array for [T; 43]
const SIZE: usize = 43
type Item = T
type Maybe = [MaybeUninit<T>; 43]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 44]
impl<T> Array for [T; 44]
const SIZE: usize = 44
type Item = T
type Maybe = [MaybeUninit<T>; 44]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 45]
impl<T> Array for [T; 45]
const SIZE: usize = 45
type Item = T
type Maybe = [MaybeUninit<T>; 45]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 46]
impl<T> Array for [T; 46]
const SIZE: usize = 46
type Item = T
type Maybe = [MaybeUninit<T>; 46]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 47]
impl<T> Array for [T; 47]
const SIZE: usize = 47
type Item = T
type Maybe = [MaybeUninit<T>; 47]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 48]
impl<T> Array for [T; 48]
const SIZE: usize = 48
type Item = T
type Maybe = [MaybeUninit<T>; 48]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 49]
impl<T> Array for [T; 49]
const SIZE: usize = 49
type Item = T
type Maybe = [MaybeUninit<T>; 49]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 50]
impl<T> Array for [T; 50]
const SIZE: usize = 50
type Item = T
type Maybe = [MaybeUninit<T>; 50]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 51]
impl<T> Array for [T; 51]
const SIZE: usize = 51
type Item = T
type Maybe = [MaybeUninit<T>; 51]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 52]
impl<T> Array for [T; 52]
const SIZE: usize = 52
type Item = T
type Maybe = [MaybeUninit<T>; 52]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 53]
impl<T> Array for [T; 53]
const SIZE: usize = 53
type Item = T
type Maybe = [MaybeUninit<T>; 53]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 54]
impl<T> Array for [T; 54]
const SIZE: usize = 54
type Item = T
type Maybe = [MaybeUninit<T>; 54]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 55]
impl<T> Array for [T; 55]
const SIZE: usize = 55
type Item = T
type Maybe = [MaybeUninit<T>; 55]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 56]
impl<T> Array for [T; 56]
const SIZE: usize = 56
type Item = T
type Maybe = [MaybeUninit<T>; 56]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 57]
impl<T> Array for [T; 57]
const SIZE: usize = 57
type Item = T
type Maybe = [MaybeUninit<T>; 57]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 58]
impl<T> Array for [T; 58]
const SIZE: usize = 58
type Item = T
type Maybe = [MaybeUninit<T>; 58]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 59]
impl<T> Array for [T; 59]
const SIZE: usize = 59
type Item = T
type Maybe = [MaybeUninit<T>; 59]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 60]
impl<T> Array for [T; 60]
const SIZE: usize = 60
type Item = T
type Maybe = [MaybeUninit<T>; 60]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 61]
impl<T> Array for [T; 61]
const SIZE: usize = 61
type Item = T
type Maybe = [MaybeUninit<T>; 61]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 62]
impl<T> Array for [T; 62]
const SIZE: usize = 62
type Item = T
type Maybe = [MaybeUninit<T>; 62]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 63]
impl<T> Array for [T; 63]
const SIZE: usize = 63
type Item = T
type Maybe = [MaybeUninit<T>; 63]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 64]
impl<T> Array for [T; 64]
const SIZE: usize = 64
type Item = T
type Maybe = [MaybeUninit<T>; 64]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 65]
impl<T> Array for [T; 65]
const SIZE: usize = 65
type Item = T
type Maybe = [MaybeUninit<T>; 65]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 66]
impl<T> Array for [T; 66]
const SIZE: usize = 66
type Item = T
type Maybe = [MaybeUninit<T>; 66]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 67]
impl<T> Array for [T; 67]
const SIZE: usize = 67
type Item = T
type Maybe = [MaybeUninit<T>; 67]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 68]
impl<T> Array for [T; 68]
const SIZE: usize = 68
type Item = T
type Maybe = [MaybeUninit<T>; 68]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 69]
impl<T> Array for [T; 69]
const SIZE: usize = 69
type Item = T
type Maybe = [MaybeUninit<T>; 69]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 70]
impl<T> Array for [T; 70]
const SIZE: usize = 70
type Item = T
type Maybe = [MaybeUninit<T>; 70]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 71]
impl<T> Array for [T; 71]
const SIZE: usize = 71
type Item = T
type Maybe = [MaybeUninit<T>; 71]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 72]
impl<T> Array for [T; 72]
const SIZE: usize = 72
type Item = T
type Maybe = [MaybeUninit<T>; 72]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 73]
impl<T> Array for [T; 73]
const SIZE: usize = 73
type Item = T
type Maybe = [MaybeUninit<T>; 73]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 74]
impl<T> Array for [T; 74]
const SIZE: usize = 74
type Item = T
type Maybe = [MaybeUninit<T>; 74]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 75]
impl<T> Array for [T; 75]
const SIZE: usize = 75
type Item = T
type Maybe = [MaybeUninit<T>; 75]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 76]
impl<T> Array for [T; 76]
const SIZE: usize = 76
type Item = T
type Maybe = [MaybeUninit<T>; 76]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 77]
impl<T> Array for [T; 77]
const SIZE: usize = 77
type Item = T
type Maybe = [MaybeUninit<T>; 77]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 78]
impl<T> Array for [T; 78]
const SIZE: usize = 78
type Item = T
type Maybe = [MaybeUninit<T>; 78]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 79]
impl<T> Array for [T; 79]
const SIZE: usize = 79
type Item = T
type Maybe = [MaybeUninit<T>; 79]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 80]
impl<T> Array for [T; 80]
const SIZE: usize = 80
type Item = T
type Maybe = [MaybeUninit<T>; 80]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 81]
impl<T> Array for [T; 81]
const SIZE: usize = 81
type Item = T
type Maybe = [MaybeUninit<T>; 81]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 82]
impl<T> Array for [T; 82]
const SIZE: usize = 82
type Item = T
type Maybe = [MaybeUninit<T>; 82]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 83]
impl<T> Array for [T; 83]
const SIZE: usize = 83
type Item = T
type Maybe = [MaybeUninit<T>; 83]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 84]
impl<T> Array for [T; 84]
const SIZE: usize = 84
type Item = T
type Maybe = [MaybeUninit<T>; 84]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 85]
impl<T> Array for [T; 85]
const SIZE: usize = 85
type Item = T
type Maybe = [MaybeUninit<T>; 85]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 86]
impl<T> Array for [T; 86]
const SIZE: usize = 86
type Item = T
type Maybe = [MaybeUninit<T>; 86]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 87]
impl<T> Array for [T; 87]
const SIZE: usize = 87
type Item = T
type Maybe = [MaybeUninit<T>; 87]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 88]
impl<T> Array for [T; 88]
const SIZE: usize = 88
type Item = T
type Maybe = [MaybeUninit<T>; 88]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 89]
impl<T> Array for [T; 89]
const SIZE: usize = 89
type Item = T
type Maybe = [MaybeUninit<T>; 89]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 90]
impl<T> Array for [T; 90]
const SIZE: usize = 90
type Item = T
type Maybe = [MaybeUninit<T>; 90]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 91]
impl<T> Array for [T; 91]
const SIZE: usize = 91
type Item = T
type Maybe = [MaybeUninit<T>; 91]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 92]
impl<T> Array for [T; 92]
const SIZE: usize = 92
type Item = T
type Maybe = [MaybeUninit<T>; 92]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 93]
impl<T> Array for [T; 93]
const SIZE: usize = 93
type Item = T
type Maybe = [MaybeUninit<T>; 93]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 94]
impl<T> Array for [T; 94]
const SIZE: usize = 94
type Item = T
type Maybe = [MaybeUninit<T>; 94]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 95]
impl<T> Array for [T; 95]
const SIZE: usize = 95
type Item = T
type Maybe = [MaybeUninit<T>; 95]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 96]
impl<T> Array for [T; 96]
const SIZE: usize = 96
type Item = T
type Maybe = [MaybeUninit<T>; 96]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 97]
impl<T> Array for [T; 97]
const SIZE: usize = 97
type Item = T
type Maybe = [MaybeUninit<T>; 97]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 98]
impl<T> Array for [T; 98]
const SIZE: usize = 98
type Item = T
type Maybe = [MaybeUninit<T>; 98]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 99]
impl<T> Array for [T; 99]
const SIZE: usize = 99
type Item = T
type Maybe = [MaybeUninit<T>; 99]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 100]
impl<T> Array for [T; 100]
const SIZE: usize = 100
type Item = T
type Maybe = [MaybeUninit<T>; 100]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 101]
impl<T> Array for [T; 101]
const SIZE: usize = 101
type Item = T
type Maybe = [MaybeUninit<T>; 101]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 102]
impl<T> Array for [T; 102]
const SIZE: usize = 102
type Item = T
type Maybe = [MaybeUninit<T>; 102]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 103]
impl<T> Array for [T; 103]
const SIZE: usize = 103
type Item = T
type Maybe = [MaybeUninit<T>; 103]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 104]
impl<T> Array for [T; 104]
const SIZE: usize = 104
type Item = T
type Maybe = [MaybeUninit<T>; 104]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 105]
impl<T> Array for [T; 105]
const SIZE: usize = 105
type Item = T
type Maybe = [MaybeUninit<T>; 105]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 106]
impl<T> Array for [T; 106]
const SIZE: usize = 106
type Item = T
type Maybe = [MaybeUninit<T>; 106]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 107]
impl<T> Array for [T; 107]
const SIZE: usize = 107
type Item = T
type Maybe = [MaybeUninit<T>; 107]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 108]
impl<T> Array for [T; 108]
const SIZE: usize = 108
type Item = T
type Maybe = [MaybeUninit<T>; 108]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 109]
impl<T> Array for [T; 109]
const SIZE: usize = 109
type Item = T
type Maybe = [MaybeUninit<T>; 109]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 110]
impl<T> Array for [T; 110]
const SIZE: usize = 110
type Item = T
type Maybe = [MaybeUninit<T>; 110]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 111]
impl<T> Array for [T; 111]
const SIZE: usize = 111
type Item = T
type Maybe = [MaybeUninit<T>; 111]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 112]
impl<T> Array for [T; 112]
const SIZE: usize = 112
type Item = T
type Maybe = [MaybeUninit<T>; 112]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 113]
impl<T> Array for [T; 113]
const SIZE: usize = 113
type Item = T
type Maybe = [MaybeUninit<T>; 113]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 114]
impl<T> Array for [T; 114]
const SIZE: usize = 114
type Item = T
type Maybe = [MaybeUninit<T>; 114]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 115]
impl<T> Array for [T; 115]
const SIZE: usize = 115
type Item = T
type Maybe = [MaybeUninit<T>; 115]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 116]
impl<T> Array for [T; 116]
const SIZE: usize = 116
type Item = T
type Maybe = [MaybeUninit<T>; 116]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 117]
impl<T> Array for [T; 117]
const SIZE: usize = 117
type Item = T
type Maybe = [MaybeUninit<T>; 117]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 118]
impl<T> Array for [T; 118]
const SIZE: usize = 118
type Item = T
type Maybe = [MaybeUninit<T>; 118]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 119]
impl<T> Array for [T; 119]
const SIZE: usize = 119
type Item = T
type Maybe = [MaybeUninit<T>; 119]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 120]
impl<T> Array for [T; 120]
const SIZE: usize = 120
type Item = T
type Maybe = [MaybeUninit<T>; 120]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 121]
impl<T> Array for [T; 121]
const SIZE: usize = 121
type Item = T
type Maybe = [MaybeUninit<T>; 121]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 122]
impl<T> Array for [T; 122]
const SIZE: usize = 122
type Item = T
type Maybe = [MaybeUninit<T>; 122]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 123]
impl<T> Array for [T; 123]
const SIZE: usize = 123
type Item = T
type Maybe = [MaybeUninit<T>; 123]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 124]
impl<T> Array for [T; 124]
const SIZE: usize = 124
type Item = T
type Maybe = [MaybeUninit<T>; 124]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 125]
impl<T> Array for [T; 125]
const SIZE: usize = 125
type Item = T
type Maybe = [MaybeUninit<T>; 125]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 126]
impl<T> Array for [T; 126]
const SIZE: usize = 126
type Item = T
type Maybe = [MaybeUninit<T>; 126]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 127]
impl<T> Array for [T; 127]
const SIZE: usize = 127
type Item = T
type Maybe = [MaybeUninit<T>; 127]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 128]
impl<T> Array for [T; 128]
const SIZE: usize = 128
type Item = T
type Maybe = [MaybeUninit<T>; 128]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 200]
impl<T> Array for [T; 200]
const SIZE: usize = 200
type Item = T
type Maybe = [MaybeUninit<T>; 200]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 256]
impl<T> Array for [T; 256]
const SIZE: usize = 256
type Item = T
type Maybe = [MaybeUninit<T>; 256]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 300]
impl<T> Array for [T; 300]
const SIZE: usize = 300
type Item = T
type Maybe = [MaybeUninit<T>; 300]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 400]
impl<T> Array for [T; 400]
const SIZE: usize = 400
type Item = T
type Maybe = [MaybeUninit<T>; 400]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 500]
impl<T> Array for [T; 500]
const SIZE: usize = 500
type Item = T
type Maybe = [MaybeUninit<T>; 500]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 512]
impl<T> Array for [T; 512]
const SIZE: usize = 512
type Item = T
type Maybe = [MaybeUninit<T>; 512]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 600]
impl<T> Array for [T; 600]
const SIZE: usize = 600
type Item = T
type Maybe = [MaybeUninit<T>; 600]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 700]
impl<T> Array for [T; 700]
const SIZE: usize = 700
type Item = T
type Maybe = [MaybeUninit<T>; 700]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 800]
impl<T> Array for [T; 800]
const SIZE: usize = 800
type Item = T
type Maybe = [MaybeUninit<T>; 800]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 900]
impl<T> Array for [T; 900]
const SIZE: usize = 900
type Item = T
type Maybe = [MaybeUninit<T>; 900]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 1000]
impl<T> Array for [T; 1000]
const SIZE: usize = 1000
type Item = T
type Maybe = [MaybeUninit<T>; 1000]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 1024]
impl<T> Array for [T; 1024]
const SIZE: usize = 1024
type Item = T
type Maybe = [MaybeUninit<T>; 1024]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 2048]
impl<T> Array for [T; 2048]
const SIZE: usize = 2048
type Item = T
type Maybe = [MaybeUninit<T>; 2048]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 4096]
impl<T> Array for [T; 4096]
const SIZE: usize = 4096
type Item = T
type Maybe = [MaybeUninit<T>; 4096]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 8192]
impl<T> Array for [T; 8192]
const SIZE: usize = 8192
type Item = T
type Maybe = [MaybeUninit<T>; 8192]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 16384]
impl<T> Array for [T; 16384]
const SIZE: usize = 16384
type Item = T
type Maybe = [MaybeUninit<T>; 16384]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 32768]
impl<T> Array for [T; 32768]
const SIZE: usize = 32768
type Item = T
type Maybe = [MaybeUninit<T>; 32768]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.Source§impl<T> Array for [T; 65536]
impl<T> Array for [T; 65536]
const SIZE: usize = 65536
type Item = T
type Maybe = [MaybeUninit<T>; 65536]
fn as_slice(&self) -> &[T]
fn as_mut_slice(&mut self) -> &mut [T]
fn try_unfold<St, F, E>(init: St, f: F) -> Result<Self, E>
fn unfold<St, F>(init: St, f: F) -> Self
fn try_from_fn<F, E>(f: F) -> Result<Self, E>
fn from_fn<F>(f: F) -> Self
fn try_from_iter<I>(iter: I) -> Option<Self>where
I: IntoIterator<Item = Self::Item>,
Source§fn into_boxed_slice(self) -> Box<[Self::Item]>
fn into_boxed_slice(self) -> Box<[Self::Item]>
alloc only.