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
T
has the same ABI as[T::Item; T::Size]
T::Maybe
is 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 = 0usize
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 = 1usize
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 = 2usize
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 = 3usize
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 = 4usize
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 = 5usize
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 = 6usize
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 = 7usize
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 = 8usize
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 = 9usize
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 = 10usize
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 = 11usize
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 = 12usize
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 = 13usize
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 = 14usize
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 = 15usize
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 = 16usize
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 = 17usize
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 = 18usize
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 = 19usize
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 = 20usize
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 = 21usize
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 = 22usize
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 = 23usize
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 = 24usize
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 = 25usize
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 = 26usize
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 = 27usize
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 = 28usize
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 = 29usize
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 = 30usize
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 = 31usize
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 = 32usize
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 = 33usize
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 = 34usize
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 = 35usize
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 = 36usize
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 = 37usize
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 = 38usize
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 = 39usize
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 = 40usize
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 = 41usize
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 = 42usize
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 = 43usize
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 = 44usize
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 = 45usize
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 = 46usize
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 = 47usize
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 = 48usize
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 = 49usize
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 = 50usize
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 = 51usize
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 = 52usize
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 = 53usize
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 = 54usize
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 = 55usize
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 = 56usize
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 = 57usize
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 = 58usize
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 = 59usize
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 = 60usize
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 = 61usize
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 = 62usize
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 = 63usize
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 = 64usize
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 = 65usize
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 = 66usize
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 = 67usize
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 = 68usize
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 = 69usize
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 = 70usize
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 = 71usize
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 = 72usize
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 = 73usize
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 = 74usize
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 = 75usize
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 = 76usize
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 = 77usize
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 = 78usize
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 = 79usize
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 = 80usize
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 = 81usize
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 = 82usize
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 = 83usize
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 = 84usize
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 = 85usize
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 = 86usize
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 = 87usize
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 = 88usize
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 = 89usize
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 = 90usize
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 = 91usize
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 = 92usize
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 = 93usize
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 = 94usize
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 = 95usize
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 = 96usize
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 = 97usize
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 = 98usize
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 = 99usize
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 = 100usize
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 = 101usize
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 = 102usize
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 = 103usize
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 = 104usize
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 = 105usize
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 = 106usize
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 = 107usize
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 = 108usize
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 = 109usize
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 = 110usize
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 = 111usize
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 = 112usize
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 = 113usize
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 = 114usize
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 = 115usize
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 = 116usize
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 = 117usize
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 = 118usize
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 = 119usize
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 = 120usize
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 = 121usize
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 = 122usize
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 = 123usize
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 = 124usize
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 = 125usize
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 = 126usize
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 = 127usize
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 = 128usize
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 = 200usize
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 = 256usize
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 = 300usize
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 = 400usize
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 = 500usize
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 = 512usize
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 = 600usize
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 = 700usize
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 = 800usize
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 = 900usize
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 = 1_000usize
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 = 1_024usize
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 = 2_048usize
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 = 4_096usize
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 = 8_192usize
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 = 16_384usize
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 = 32_768usize
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 = 65_536usize
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.