Type Alias gear_lazy_pages::PageSizes

source ·
pub type PageSizes = [NonZeroU32; 2];

Implementations§

source§

impl<T, const N: usize> [T; N]

1.55.0 · source

pub fn map<F, U>(self, f: F) -> [U; N]where F: FnMut(T) -> U,

Returns an array of the same size as self, with function f applied to each element in order.

If you don’t necessarily need a new fixed-size array, consider using Iterator::map instead.

Note on performance and stack usage

Unfortunately, usages of this method are currently not always optimized as well as they could be. This mainly concerns large arrays, as mapping over small arrays seem to be optimized just fine. Also note that in debug mode (i.e. without any optimizations), this method can use a lot of stack space (a few times the size of the array or more).

Therefore, in performance-critical code, try to avoid using this method on large arrays or check the emitted code. Also try to avoid chained maps (e.g. arr.map(...).map(...)).

In many cases, you can instead use Iterator::map by calling .iter() or .into_iter() on your array. [T; N]::map is only necessary if you really need a new array of the same size as the result. Rust’s lazy iterators tend to get optimized very well.

Examples
let x = [1, 2, 3];
let y = x.map(|v| v + 1);
assert_eq!(y, [2, 3, 4]);

let x = [1, 2, 3];
let mut temp = 0;
let y = x.map(|v| { temp += 1; v * temp });
assert_eq!(y, [1, 4, 9]);

let x = ["Ferris", "Bueller's", "Day", "Off"];
let y = x.map(|v| v.len());
assert_eq!(y, [6, 9, 3, 3]);
source

pub fn try_map<F, R>( self, f: F ) -> <<R as Try>::Residual as Residual<[<R as Try>::Output; N]>>::TryTypewhere F: FnMut(T) -> R, R: Try, <R as Try>::Residual: Residual<[<R as Try>::Output; N]>,

🔬This is a nightly-only experimental API. (array_try_map)

A fallible function f applied to each element on array self in order to return an array the same size as self or the first error encountered.

The return type of this function depends on the return type of the closure. If you return Result<T, E> from the closure, you’ll get a Result<[T; N], E>. If you return Option<T> from the closure, you’ll get an Option<[T; N]>.

Examples
#![feature(array_try_map)]
let a = ["1", "2", "3"];
let b = a.try_map(|v| v.parse::<u32>()).unwrap().map(|v| v + 1);
assert_eq!(b, [2, 3, 4]);

let a = ["1", "2a", "3"];
let b = a.try_map(|v| v.parse::<u32>());
assert!(b.is_err());

use std::num::NonZeroU32;
let z = [1, 2, 0, 3, 4];
assert_eq!(z.try_map(NonZeroU32::new), None);
let a = [1, 2, 3];
let b = a.try_map(NonZeroU32::new);
let c = b.map(|x| x.map(NonZeroU32::get));
assert_eq!(c, Some(a));
1.57.0 (const: 1.57.0) · source

pub const fn as_slice(&self) -> &[T]

Returns a slice containing the entire array. Equivalent to &s[..].

1.57.0 · source

pub fn as_mut_slice(&mut self) -> &mut [T]

Returns a mutable slice containing the entire array. Equivalent to &mut s[..].

source

pub fn each_ref(&self) -> [&T; N]

🔬This is a nightly-only experimental API. (array_methods)

Borrows each element and returns an array of references with the same size as self.

Example
#![feature(array_methods)]

let floats = [3.1, 2.7, -1.0];
let float_refs: [&f64; 3] = floats.each_ref();
assert_eq!(float_refs, [&3.1, &2.7, &-1.0]);

This method is particularly useful if combined with other methods, like map. This way, you can avoid moving the original array if its elements are not Copy.

#![feature(array_methods)]

let strings = ["Ferris".to_string(), "♥".to_string(), "Rust".to_string()];
let is_ascii = strings.each_ref().map(|s| s.is_ascii());
assert_eq!(is_ascii, [true, false, true]);

// We can still access the original array: it has not been moved.
assert_eq!(strings.len(), 3);
source

pub fn each_mut(&mut self) -> [&mut T; N]

🔬This is a nightly-only experimental API. (array_methods)

Borrows each element mutably and returns an array of mutable references with the same size as self.

Example
#![feature(array_methods)]

let mut floats = [3.1, 2.7, -1.0];
let float_refs: [&mut f64; 3] = floats.each_mut();
*float_refs[0] = 0.0;
assert_eq!(float_refs, [&mut 0.0, &mut 2.7, &mut -1.0]);
assert_eq!(floats, [0.0, 2.7, -1.0]);
source

pub fn split_array_ref<const M: usize>(&self) -> (&[T; M], &[T])

🔬This is a nightly-only experimental API. (split_array)

Divides one array reference into two at an index.

The first will contain all indices from [0, M) (excluding the index M itself) and the second will contain all indices from [M, N) (excluding the index N itself).

Panics

Panics if M > N.

Examples
#![feature(split_array)]

let v = [1, 2, 3, 4, 5, 6];

{
   let (left, right) = v.split_array_ref::<0>();
   assert_eq!(left, &[]);
   assert_eq!(right, &[1, 2, 3, 4, 5, 6]);
}

{
    let (left, right) = v.split_array_ref::<2>();
    assert_eq!(left, &[1, 2]);
    assert_eq!(right, &[3, 4, 5, 6]);
}

{
    let (left, right) = v.split_array_ref::<6>();
    assert_eq!(left, &[1, 2, 3, 4, 5, 6]);
    assert_eq!(right, &[]);
}
source

pub fn split_array_mut<const M: usize>(&mut self) -> (&mut [T; M], &mut [T])

🔬This is a nightly-only experimental API. (split_array)

Divides one mutable array reference into two at an index.

The first will contain all indices from [0, M) (excluding the index M itself) and the second will contain all indices from [M, N) (excluding the index N itself).

Panics

Panics if M > N.

Examples
#![feature(split_array)]

let mut v = [1, 0, 3, 0, 5, 6];
let (left, right) = v.split_array_mut::<2>();
assert_eq!(left, &mut [1, 0][..]);
assert_eq!(right, &mut [3, 0, 5, 6]);
left[1] = 2;
right[1] = 4;
assert_eq!(v, [1, 2, 3, 4, 5, 6]);
source

pub fn rsplit_array_ref<const M: usize>(&self) -> (&[T], &[T; M])

🔬This is a nightly-only experimental API. (split_array)

Divides one array reference into two at an index from the end.

The first will contain all indices from [0, N - M) (excluding the index N - M itself) and the second will contain all indices from [N - M, N) (excluding the index N itself).

Panics

Panics if M > N.

Examples
#![feature(split_array)]

let v = [1, 2, 3, 4, 5, 6];

{
   let (left, right) = v.rsplit_array_ref::<0>();
   assert_eq!(left, &[1, 2, 3, 4, 5, 6]);
   assert_eq!(right, &[]);
}

{
    let (left, right) = v.rsplit_array_ref::<2>();
    assert_eq!(left, &[1, 2, 3, 4]);
    assert_eq!(right, &[5, 6]);
}

{
    let (left, right) = v.rsplit_array_ref::<6>();
    assert_eq!(left, &[]);
    assert_eq!(right, &[1, 2, 3, 4, 5, 6]);
}
source

pub fn rsplit_array_mut<const M: usize>(&mut self) -> (&mut [T], &mut [T; M])

🔬This is a nightly-only experimental API. (split_array)

Divides one mutable array reference into two at an index from the end.

The first will contain all indices from [0, N - M) (excluding the index N - M itself) and the second will contain all indices from [N - M, N) (excluding the index N itself).

Panics

Panics if M > N.

Examples
#![feature(split_array)]

let mut v = [1, 0, 3, 0, 5, 6];
let (left, right) = v.rsplit_array_mut::<4>();
assert_eq!(left, &mut [1, 0]);
assert_eq!(right, &mut [3, 0, 5, 6][..]);
left[1] = 2;
right[1] = 4;
assert_eq!(v, [1, 2, 3, 4, 5, 6]);

Trait Implementations§

§

impl<T, const N: usize> Archive for [T; N]where T: Archive,

§

type Archived = [<T as Archive>::Archived; N]

The archived representation of this type. Read more
§

type Resolver = [<T as Archive>::Resolver; N]

The resolver for this type. It must contain all the additional information from serializing needed to make the archived type from the normal type.
§

unsafe fn resolve( &self, pos: usize, resolver: <[T; N] as Archive>::Resolver, out: *mut <[T; N] as Archive>::Archived )

Creates the archived version of this value at the given position and writes it to the given output. Read more
source§

impl<T> Array for [T; 0]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 0]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 0usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 0]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 0]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 0usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 1]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 1]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 1usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 1]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 1]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 1usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 10]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 10]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 10usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 10]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 10]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 10usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 100]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 100]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 100usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 1024]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 1024]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 1_024usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 1024]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 1024]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 1_024usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 11]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 11]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 11usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 11]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 11]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 11usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 12]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 12]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 12usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 12]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 12]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 12usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 128]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 128]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 128usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 128]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 128]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 128usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 13]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 13]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 13usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 13]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 13]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 13usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 14]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 14]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 14usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 14]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 14]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 14usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 15]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 15]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 15usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 15]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 15]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 15usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 16]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 16]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 16usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 16]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 16]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 16usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 160]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 160]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 160usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 16384]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 16384]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 16_384usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 17]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 17]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 17usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 17]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 17]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 17usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 18]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 18]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 18usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 18]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 18]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 18usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 19]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 19]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 19usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 19]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 19]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 19usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 192]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 192]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 192usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 2]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 2]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 2usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 2]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 2]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 2usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 20]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 20]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 20usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 20]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 20]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 20usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 200]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 200]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 200usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 2048]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 2048]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 2_048usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 2048]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 2048]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 2_048usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 21]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 21]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 21usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 21]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 21]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 21usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 22]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 22]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 22usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 22]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 22]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 22usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 224]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 224]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 224usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 23]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 23]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 23usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 23]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 23]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 23usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 24]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 24]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 24usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 24]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 24]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 24usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 25]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 25]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 25usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 25]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 25]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 25usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 256]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 256]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 256usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 256]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 256]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 256usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 26]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 26]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 26usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 26]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 26]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 26usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 27]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 27]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 27usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 27]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 27]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 27usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 28]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 28]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 28usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 28]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 28]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 28usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 29]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 29]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 29usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 29]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 29]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 29usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 3]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 3]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 3usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 3]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 3]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 3usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 30]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 30]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 30usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 30]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 30]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 30usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 31]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 31]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 31usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 31]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 31]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 31usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 32]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 32]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 32usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 32]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 32]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 32usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 32768]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 32768]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 32_768usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

§

impl<T> Array for [T; 33]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 33usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 33]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 384]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 384]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 384usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 4]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 4]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 4usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 4]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 4]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 4usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 40]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 40]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 40usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 4096]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 4096]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 4_096usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 4096]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 4096]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 4_096usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 48]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 48]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 48usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 5]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 5]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 5usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 5]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 5]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 5usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 50]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 50]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 50usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 512]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 512]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 512usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 512]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 512]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 512usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 56]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 56]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 56usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 6]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 6]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 6usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 6]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 6]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 6usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 64]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 64]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 64usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 64]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 64]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 64usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 65536]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 65536]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 65_536usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 7]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 7]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 7usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 7]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 7]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 7usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 72]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 72]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 72usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 768]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 768]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 768usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 8]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 8]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 8usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 8]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 8]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 8usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 8192]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 8192]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 8_192usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 9]

§

type Item = T

The array’s element type
§

impl<T> Array for [T; 9]where T: Default,

§

type Item = T

The type of the items in the thing.
§

const CAPACITY: usize = 9usize

The number of slots in the thing.
§

fn as_slice(&self) -> &[T]

Gives a shared slice over the whole thing. Read more
§

fn as_slice_mut(&mut self) -> &mut [T]

Gives a unique slice over the whole thing. Read more
§

fn default() -> [T; 9]

Create a default-initialized instance of ourself, similar to the Default trait, but implemented for the same range of sizes as [Array].
source§

impl<T> Array for [T; 9]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 9usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

source§

impl<T> Array for [T; 96]

§

type Item = T

The array’s element type
source§

impl<T> Array for [T; 96]

§

type Item = T

The array’s element type
source§

const CAPACITY: usize = 96usize

The array’s element capacity
source§

fn as_slice(&self) -> &[Self::Item]

source§

fn as_mut_slice(&mut self) -> &mut [Self::Item]

§

impl<T, const N: usize> Array for [T; N]

§

type Item = T

The type of the array’s elements.
§

fn size() -> usize

Returns the number of items the array can hold.
§

impl<T> ArrayLike for [T; 0]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 0]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 1]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 1]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 128]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 128]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 16]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 16]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 192]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 192]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 2]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 2]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 3]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 3]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 32]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 32]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 4]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 4]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 64]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 64]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 8]

§

type Item = T

Type of the elements being stored.
§

impl<T> ArrayLike for [T; 8]

§

type Item = T

Type of the elements being stored.
source§

impl<T> AsByteSliceMut for [T; 0]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 1]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 10]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 1024]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 11]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 12]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 128]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 13]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 14]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 15]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 16]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 17]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 18]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 19]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 2]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 20]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 2048]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 21]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 22]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 23]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 24]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 25]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 256]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 26]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 27]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 28]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 29]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 3]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 30]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 31]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 32]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 4]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 4096]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 5]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 512]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 6]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 64]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 7]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 8]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
source§

impl<T> AsByteSliceMut for [T; 9]where [T]: AsByteSliceMut,

source§

fn as_byte_slice_mut(&mut self) -> &mut [u8]

Return a mutable reference to self as a byte slice
source§

fn to_le(&mut self)

Call to_le on each element (i.e. byte-swap on Big Endian platforms).
1.0.0 · source§

impl<T, const N: usize> AsMut<[T]> for [T; N]

source§

fn as_mut(&mut self) -> &mut [T]

Converts this type into a mutable reference of the (usually inferred) input type.
1.0.0 · source§

impl<T, const N: usize> AsRef<[T]> for [T; N]

source§

fn as_ref(&self) -> &[T]

Converts this type into a shared reference of the (usually inferred) input type.
§

impl<T, const N: usize> BitView for [T; N]where T: BitStore,

Note that overly-large arrays may cause the conversions to fail.

§

type Store = T

The underlying element type.
§

fn view_bits<O>(&self) -> &BitSlice<T, O> where O: BitOrder,

Views a memory region as an immutable bit-slice.
§

fn try_view_bits<O>(&self) -> Result<&BitSlice<T, O>, BitSpanError<T>>where O: BitOrder,

Attempts to view a memory region as an immutable bit-slice. Read more
§

fn view_bits_mut<O>(&mut self) -> &mut BitSlice<T, O> where O: BitOrder,

Views a memory region as a mutable bit-slice.
§

fn try_view_bits_mut<O>( &mut self ) -> Result<&mut BitSlice<T, O>, BitSpanError<T>>where O: BitOrder,

Attempts to view a memory region as a mutable bit-slice. Read more
§

impl<T, const N: usize> BitViewSized for [T; N]where T: BitStore,

§

const ZERO: [T; N] = _

The zero constant.
§

fn as_raw_slice(&self) -> &[<[T; N] as BitView>::Store]

Views the type as a slice of its elements.
§

fn as_raw_mut_slice(&mut self) -> &mut [<[T; N] as BitView>::Store]

Views the type as a mutable slice of its elements.
§

fn into_bitarray<O>(self) -> BitArray<Self, O>where O: BitOrder,

Wraps self in a BitArray.
1.4.0 · source§

impl<T, const N: usize> Borrow<[T]> for [T; N]

source§

fn borrow(&self) -> &[T]

Immutably borrows from an owned value. Read more
1.4.0 · source§

impl<T, const N: usize> BorrowMut<[T]> for [T; N]

source§

fn borrow_mut(&mut self) -> &mut [T]

Mutably borrows from an owned value. Read more
1.58.0 · source§

impl<T, const N: usize> Clone for [T; N]where T: Clone,

source§

fn clone(&self) -> [T; N]

Returns a copy of the value. Read more
source§

fn clone_from(&mut self, other: &[T; N])

Performs copy-assignment from source. Read more
1.0.0 · source§

impl<T, const N: usize> Debug for [T; N]where T: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<T> DebugSecret for [T; 1]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 10]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 11]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 12]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 13]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 14]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 15]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 16]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 17]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 18]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 19]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 2]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 20]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 21]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 22]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 23]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 24]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 25]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 26]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 27]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 28]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 29]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 3]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 30]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 31]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 32]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 33]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 34]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 35]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 36]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 37]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 38]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 39]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 4]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 40]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 41]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 42]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 43]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 44]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 45]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 46]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 47]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 48]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 49]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 5]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 50]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 51]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 52]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 53]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 54]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 55]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 56]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 57]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 58]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 59]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 6]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 60]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 61]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 62]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 63]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 64]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 7]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 8]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
source§

impl<T> DebugSecret for [T; 9]where T: Debug,

source§

fn debug_secret(f: &mut Formatter<'_>) -> Result<(), Error>

Format information about the secret’s type. Read more
§

impl<T, const N: usize> Decode for [T; N]where T: Decode,

§

fn decode<I>(input: &mut I) -> Result<[T; N], Error>where I: Input,

Attempt to deserialise the value from input.
§

fn decode_into<I>( input: &mut I, dst: &mut MaybeUninit<[T; N]> ) -> Result<DecodeFinished, Error>where I: Input,

Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
§

fn skip<I>(input: &mut I) -> Result<(), Error>where I: Input,

Attempt to skip the encoded value from input. Read more
§

fn encoded_fixed_size() -> Option<usize>

Returns the fixed encoded size of the type. Read more
1.4.0 · source§

impl<T> Default for [T; 0]

source§

fn default() -> [T; 0]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 1]where T: Default,

source§

fn default() -> [T; 1]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 10]where T: Default,

source§

fn default() -> [T; 10]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 11]where T: Default,

source§

fn default() -> [T; 11]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 12]where T: Default,

source§

fn default() -> [T; 12]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 13]where T: Default,

source§

fn default() -> [T; 13]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 14]where T: Default,

source§

fn default() -> [T; 14]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 15]where T: Default,

source§

fn default() -> [T; 15]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 16]where T: Default,

source§

fn default() -> [T; 16]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 17]where T: Default,

source§

fn default() -> [T; 17]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 18]where T: Default,

source§

fn default() -> [T; 18]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 19]where T: Default,

source§

fn default() -> [T; 19]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 2]where T: Default,

source§

fn default() -> [T; 2]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 20]where T: Default,

source§

fn default() -> [T; 20]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 21]where T: Default,

source§

fn default() -> [T; 21]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 22]where T: Default,

source§

fn default() -> [T; 22]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 23]where T: Default,

source§

fn default() -> [T; 23]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 24]where T: Default,

source§

fn default() -> [T; 24]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 25]where T: Default,

source§

fn default() -> [T; 25]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 26]where T: Default,

source§

fn default() -> [T; 26]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 27]where T: Default,

source§

fn default() -> [T; 27]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 28]where T: Default,

source§

fn default() -> [T; 28]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 29]where T: Default,

source§

fn default() -> [T; 29]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 3]where T: Default,

source§

fn default() -> [T; 3]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 30]where T: Default,

source§

fn default() -> [T; 30]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 31]where T: Default,

source§

fn default() -> [T; 31]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 32]where T: Default,

source§

fn default() -> [T; 32]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 4]where T: Default,

source§

fn default() -> [T; 4]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 5]where T: Default,

source§

fn default() -> [T; 5]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 6]where T: Default,

source§

fn default() -> [T; 6]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 7]where T: Default,

source§

fn default() -> [T; 7]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 8]where T: Default,

source§

fn default() -> [T; 8]

Returns the “default value” for a type. Read more
1.4.0 · source§

impl<T> Default for [T; 9]where T: Default,

source§

fn default() -> [T; 9]

Returns the “default value” for a type. Read more
§

impl<T, D, const N: usize> Deserialize<[T; N], D> for [<T as Archive>::Archived; N]where T: Archive, D: Fallible + ?Sized, <T as Archive>::Archived: Deserialize<T, D>,

§

fn deserialize( &self, deserializer: &mut D ) -> Result<[T; N], <D as Fallible>::Error>

Deserializes using the given deserializer
source§

impl<'de, T> Deserialize<'de> for [T; 0]

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 0], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 1]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 1], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 10]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 10], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 11]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 11], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 12]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 12], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 13]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 13], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 14]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 14], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 15]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 15], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 16]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 16], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 17]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 17], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 18]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 18], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 19]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 19], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 2]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 2], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 20]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 20], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 21]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 21], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 22]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 22], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 23]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 23], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 24]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 24], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 25]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 25], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 26]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 26], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 27]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 27], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 28]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 28], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 29]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 29], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 3]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 3], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 30]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 30], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 31]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 31], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 32]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 32], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 4]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 4], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 5]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 5], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 6]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 6], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 7]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 7], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 8]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 8], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'de, T> Deserialize<'de> for [T; 9]where T: Deserialize<'de>,

source§

fn deserialize<D>( deserializer: D ) -> Result<[T; 9], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
§

impl<T, const N: usize> Encode for [T; N]where T: Encode,

§

fn size_hint(&self) -> usize

If possible give a hint of expected size of the encoding. Read more
§

fn encode_to<W>(&self, dest: &mut W)where W: Output + ?Sized,

Convert self to a slice and append it to the destination.
§

fn encode(&self) -> Vec<u8, Global>

Convert self to an owned vector.
§

fn using_encoded<R, F>(&self, f: F) -> Rwhere F: FnOnce(&[u8]) -> R,

Convert self to a slice and then invoke the given closure with it.
§

fn encoded_size(&self) -> usize

Calculates the encoded size. Read more
source§

impl<T> Fill for [T; 0]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 1]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 10]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 1024]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 11]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 12]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 128]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 13]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 14]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 15]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 16]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 17]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 18]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 19]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 2]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 20]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 2048]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 21]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 22]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 23]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 24]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 25]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 256]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 26]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 27]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 28]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 29]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 3]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 30]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 31]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 32]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 4]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 4096]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 5]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 512]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 6]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 64]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 7]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 8]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
source§

impl<T> Fill for [T; 9]where [T]: Fill,

source§

fn try_fill<R>(&mut self, rng: &mut R) -> Result<(), Error>where R: Rng + ?Sized,

Fill self with random data
1.71.0 · source§

impl<T> From<(T,)> for [T; 1]

source§

fn from(tuple: (T,)) -> [T; 1]

Converts to this type from the input type.
1.71.0 · source§

impl<T> From<(T, T)> for [T; 2]

source§

fn from(tuple: (T, T)) -> [T; 2]

Converts to this type from the input type.
1.71.0 · source§

impl<T> From<(T, T, T)> for [T; 3]

source§

fn from(tuple: (T, T, T)) -> [T; 3]

Converts to this type from the input type.
1.71.0 · source§

impl<T> From<(T, T, T, T)> for [T; 4]

source§

fn from(tuple: (T, T, T, T)) -> [T; 4]

Converts to this type from the input type.
1.71.0 · source§

impl<T> From<(T, T, T, T, T)> for [T; 5]

source§

fn from(tuple: (T, T, T, T, T)) -> [T; 5]

Converts to this type from the input type.
1.71.0 · source§

impl<T> From<(T, T, T, T, T, T)> for [T; 6]

source§

fn from(tuple: (T, T, T, T, T, T)) -> [T; 6]

Converts to this type from the input type.
1.71.0 · source§

impl<T> From<(T, T, T, T, T, T, T)> for [T; 7]

source§

fn from(tuple: (T, T, T, T, T, T, T)) -> [T; 7]

Converts to this type from the input type.
1.71.0 · source§

impl<T> From<(T, T, T, T, T, T, T, T)> for [T; 8]

source§

fn from(tuple: (T, T, T, T, T, T, T, T)) -> [T; 8]

Converts to this type from the input type.
1.71.0 · source§

impl<T> From<(T, T, T, T, T, T, T, T, T)> for [T; 9]

source§

fn from(tuple: (T, T, T, T, T, T, T, T, T)) -> [T; 9]

Converts to this type from the input type.
1.71.0 · source§

impl<T> From<(T, T, T, T, T, T, T, T, T, T)> for [T; 10]

source§

fn from(tuple: (T, T, T, T, T, T, T, T, T, T)) -> [T; 10]

Converts to this type from the input type.
1.71.0 · source§

impl<T> From<(T, T, T, T, T, T, T, T, T, T, T)> for [T; 11]

source§

fn from(tuple: (T, T, T, T, T, T, T, T, T, T, T)) -> [T; 11]

Converts to this type from the input type.
1.71.0 · source§

impl<T> From<(T, T, T, T, T, T, T, T, T, T, T, T)> for [T; 12]

source§

fn from(tuple: (T, T, T, T, T, T, T, T, T, T, T, T)) -> [T; 12]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>> for [T; 1024]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>> ) -> [T; 1024]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>> for [T; 512]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>> ) -> [T; 512]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>, B0>>> for [T; 1000]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>, B0>> ) -> [T; 1000]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>> for [T; 256]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>, B0>> ) -> [T; 256]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>, B1>, B0>, B0>>> for [T; 300]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>, B1>, B0>, B0>> ) -> [T; 300]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>, B0>, B0>>> for [T; 400]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>, B0>, B0>> ) -> [T; 400]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>>> for [T; 500]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>, B1>, B0>, B0>> ) -> [T; 500]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>>> for [T; 128]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>> ) -> [T; 128]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>, B0>>> for [T; 200]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>, B0>> ) -> [T; 200]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for [T; 64]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>> ) -> [T; 64]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>, B0>>> for [T; 70]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>, B0>> ) -> [T; 70]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>, B0>>> for [T; 80]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>, B0>> ) -> [T; 80]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>, B0>>> for [T; 90]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>, B0>> ) -> [T; 90]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>>> for [T; 100]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>> ) -> [T; 100]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for [T; 32]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>> ) -> [T; 32]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B1>>> for [T; 33]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B1>> ) -> [T; 33]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B0>>> for [T; 34]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B0>> ) -> [T; 34]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>>> for [T; 35]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>> ) -> [T; 35]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B0>>> for [T; 36]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B0>> ) -> [T; 36]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>>> for [T; 37]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>> ) -> [T; 37]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B0>>> for [T; 38]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B0>> ) -> [T; 38]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B1>>> for [T; 39]

§

fn from( sel: GenericArray<T, UInt<