pub type BlockCommitmentArray = [u64; 32];

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§

source§

impl<T> AbiExample for [T; 0]

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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].
§

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> 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.
source§

impl<Block> Bits for [Block; 0]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 0] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 1]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 1] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 10]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 10] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 1024]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 1024] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 1048576]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 1048576] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 11]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 11] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 12]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 12] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 128]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 128] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 13]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 13] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 131072]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 131072] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 14]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 14] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 15]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 15] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 16]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 16] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 16384]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 16384] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 17]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 17] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 18]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 18] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 19]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 19] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 2]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 2] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 20]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 20] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 2048]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 2048] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 21]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 21] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 22]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 22] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 23]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 23] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 24]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 24] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 25]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 25] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 256]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 256] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 26]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 26] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 262144]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 262144] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 27]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 27] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 28]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 28] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 29]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 29] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 3]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 3] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 30]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 30] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 31]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 31] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 32]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 32] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 32768]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 32768] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 4]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 4] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 4096]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 4096] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 5]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 5] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 512]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 512] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 524288]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 524288] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 6]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 6] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 64]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 64] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 65536]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 65536] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 7]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 7] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 8]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 8] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 8192]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 8192] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> Bits for [Block; 9]where Block: BlockType,

§

type Block = Block

The underlying block type used to store the bits of the vector.
source§

fn bit_len(&self) -> u64

The length of the slice in bits.
source§

fn block_len(&self) -> usize

The length of the slice in blocks.
source§

fn get_block(&self, position: usize) -> <[Block; 9] as Bits>::Block

Gets the block at position, masked as necessary. Read more
source§

fn get_bit(&self, position: u64) -> bool

Gets the bit at position Read more
source§

fn get_raw_block(&self, position: usize) -> Self::Block

Gets the block at position, without masking. Read more
source§

fn get_bits(&self, start: u64, count: usize) -> Self::Block

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

fn to_bit_vec(&self) -> BitVec<Self::Block>

Copies the bits into a new allocated BitVec.
source§

impl<Block> BitsMut for [Block; 0]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 1]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 10]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 1024]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 1048576]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 11]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 12]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 128]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 13]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 131072]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 14]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 15]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 16]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 16384]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 17]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 18]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 19]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 2]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 20]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 2048]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 21]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 22]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 23]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 24]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 25]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 256]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 26]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 262144]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 27]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 28]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 29]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 3]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 30]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 31]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 32]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 32768]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 4]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 4096]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 5]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 512]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 524288]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 6]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 64]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 65536]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 7]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 8]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 8192]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
source§

impl<Block> BitsMut for [Block; 9]where Block: BlockType,

source§

fn set_block(&mut self, position: usize, value: Block)

Sets the block at position to value. Read more
source§

fn set_bit(&mut self, position: u64, value: bool)

Sets the bit at position to value. Read more
source§

fn set_bits(&mut self, start: u64, count: usize, value: Self::Block)

Sets count bits starting at bit index start, interpreted as a little-endian integer. Read more
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
§

impl<T> BorshDeserialize for [T; 0]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(_buf: &mut &[u8]) -> Result<[T; 0], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 1]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 1], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 10]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 10], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 1024]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 1024], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 11]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 11], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 12]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 12], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 128]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 128], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 13]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 13], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 14]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 14], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 15]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 15], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 16]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 16], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 17]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 17], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 18]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 18], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 19]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 19], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 2]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 2], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 20]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 20], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 2048]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 2048], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 21]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 21], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 22]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 22], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 23]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 23], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 24]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 24], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 25]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 25], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 256]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 256], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 26]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 26], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 27]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 27], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 28]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 28], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 29]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 29], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 3]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 3], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 30]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 30], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 31]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 31], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 32]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 32], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 4]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 4], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 5]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 5], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 512]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 512], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 6]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 6], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 64]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 64], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 65]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 65], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 7]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 7], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 8]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 8], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

impl<T> BorshDeserialize for [T; 9]where T: BorshDeserialize + Default + Copy,

§

fn deserialize(buf: &mut &[u8]) -> Result<[T; 9], Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

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

§

fn deserialize_reader<R>(reader: &mut R) -> Result<[T; N], Error>where R: Read,

§

fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>

Deserializes this instance from a given slice of bytes. Updates the buffer to point at the remaining bytes.
§

fn try_from_slice(v: &[u8]) -> Result<Self, Error>

Deserialize this instance from a slice of bytes.
§

fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where R: Read,

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

impl<T> BorshSchema for [T; 65]where T: BorshSchema,

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )

Recursively, using DFS, add type definitions required for this type. For primitive types this is an empty map. Type definition explains how to serialize/deserialize a type.
§

fn declaration() -> String

Get the name of the type without brackets.
§

fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )

Helper method to add a single type definition to the map.
§

fn schema_container() -> BorshSchemaContainer

§

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

§

fn serialize<W>(&self, _writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

impl<T> BorshSerialize for [T; 65]where T: BorshSerialize,

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn serialize<W>(&self, writer: &mut W) -> Result<(), Error>where W: Write,

§

fn try_to_vec(&self) -> Result<Vec<u8, Global>, Error>

Serialize this instance into a vector of bytes.
§

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

§

fn deserialize_with_mode<R>( reader: R, compress: Compress, validate: Validate ) -> Result<[T; N], SerializationError>where R: Read,

The general deserialize method that takes in customization flags.
§

fn deserialize_compressed<R>(reader: R) -> Result<Self, SerializationError>where R: Read,

§

fn deserialize_compressed_unchecked<R>( reader: R ) -> Result<Self, SerializationError>where R: Read,

§

fn deserialize_uncompressed<R>(reader: R) -> Result<Self, SerializationError>where R: Read,

§

fn deserialize_uncompressed_unchecked<R>( reader: R ) -> Result<Self, SerializationError>where R: Read,

§

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

§

fn serialize_with_mode<W>( &self, writer: W, compress: Compress ) -> Result<(), SerializationError>where W: Write,

The general serialize method that takes in customization flags.
§

fn serialized_size(&self, compress: Compress) -> usize

§

fn serialize_compressed<W>(&self, writer: W) -> Result<(), SerializationError>where W: Write,

§

fn compressed_size(&self) -> usize

§

fn serialize_uncompressed<W>(&self, writer: W) -> Result<(), SerializationError>where W: Write,

§

fn uncompressed_size(&self) -> usize

§

impl<P> ChoiceParser for [P; 0]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 0] as ChoiceParser>::Input, state: &mut <[P; 0] as ChoiceParser>::PartialState ) -> FastResult<<[P; 0] as ChoiceParser>::Output, <<[P; 0] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 0] as ChoiceParser>::Input, state: &mut <[P; 0] as ChoiceParser>::PartialState ) -> FastResult<<[P; 0] as ChoiceParser>::Output, <<[P; 0] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 0] as ChoiceParser>::Input, state: &mut <[P; 0] as ChoiceParser>::PartialState ) -> FastResult<<[P; 0] as ChoiceParser>::Output, <<[P; 0] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 0] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 1]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 1] as ChoiceParser>::Input, state: &mut <[P; 1] as ChoiceParser>::PartialState ) -> FastResult<<[P; 1] as ChoiceParser>::Output, <<[P; 1] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 1] as ChoiceParser>::Input, state: &mut <[P; 1] as ChoiceParser>::PartialState ) -> FastResult<<[P; 1] as ChoiceParser>::Output, <<[P; 1] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 1] as ChoiceParser>::Input, state: &mut <[P; 1] as ChoiceParser>::PartialState ) -> FastResult<<[P; 1] as ChoiceParser>::Output, <<[P; 1] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 1] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 10]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 10] as ChoiceParser>::Input, state: &mut <[P; 10] as ChoiceParser>::PartialState ) -> FastResult<<[P; 10] as ChoiceParser>::Output, <<[P; 10] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 10] as ChoiceParser>::Input, state: &mut <[P; 10] as ChoiceParser>::PartialState ) -> FastResult<<[P; 10] as ChoiceParser>::Output, <<[P; 10] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 10] as ChoiceParser>::Input, state: &mut <[P; 10] as ChoiceParser>::PartialState ) -> FastResult<<[P; 10] as ChoiceParser>::Output, <<[P; 10] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 10] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 11]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 11] as ChoiceParser>::Input, state: &mut <[P; 11] as ChoiceParser>::PartialState ) -> FastResult<<[P; 11] as ChoiceParser>::Output, <<[P; 11] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 11] as ChoiceParser>::Input, state: &mut <[P; 11] as ChoiceParser>::PartialState ) -> FastResult<<[P; 11] as ChoiceParser>::Output, <<[P; 11] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 11] as ChoiceParser>::Input, state: &mut <[P; 11] as ChoiceParser>::PartialState ) -> FastResult<<[P; 11] as ChoiceParser>::Output, <<[P; 11] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 11] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 12]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 12] as ChoiceParser>::Input, state: &mut <[P; 12] as ChoiceParser>::PartialState ) -> FastResult<<[P; 12] as ChoiceParser>::Output, <<[P; 12] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 12] as ChoiceParser>::Input, state: &mut <[P; 12] as ChoiceParser>::PartialState ) -> FastResult<<[P; 12] as ChoiceParser>::Output, <<[P; 12] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 12] as ChoiceParser>::Input, state: &mut <[P; 12] as ChoiceParser>::PartialState ) -> FastResult<<[P; 12] as ChoiceParser>::Output, <<[P; 12] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 12] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 13]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 13] as ChoiceParser>::Input, state: &mut <[P; 13] as ChoiceParser>::PartialState ) -> FastResult<<[P; 13] as ChoiceParser>::Output, <<[P; 13] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 13] as ChoiceParser>::Input, state: &mut <[P; 13] as ChoiceParser>::PartialState ) -> FastResult<<[P; 13] as ChoiceParser>::Output, <<[P; 13] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 13] as ChoiceParser>::Input, state: &mut <[P; 13] as ChoiceParser>::PartialState ) -> FastResult<<[P; 13] as ChoiceParser>::Output, <<[P; 13] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 13] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 14]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 14] as ChoiceParser>::Input, state: &mut <[P; 14] as ChoiceParser>::PartialState ) -> FastResult<<[P; 14] as ChoiceParser>::Output, <<[P; 14] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 14] as ChoiceParser>::Input, state: &mut <[P; 14] as ChoiceParser>::PartialState ) -> FastResult<<[P; 14] as ChoiceParser>::Output, <<[P; 14] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 14] as ChoiceParser>::Input, state: &mut <[P; 14] as ChoiceParser>::PartialState ) -> FastResult<<[P; 14] as ChoiceParser>::Output, <<[P; 14] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 14] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 15]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 15] as ChoiceParser>::Input, state: &mut <[P; 15] as ChoiceParser>::PartialState ) -> FastResult<<[P; 15] as ChoiceParser>::Output, <<[P; 15] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 15] as ChoiceParser>::Input, state: &mut <[P; 15] as ChoiceParser>::PartialState ) -> FastResult<<[P; 15] as ChoiceParser>::Output, <<[P; 15] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 15] as ChoiceParser>::Input, state: &mut <[P; 15] as ChoiceParser>::PartialState ) -> FastResult<<[P; 15] as ChoiceParser>::Output, <<[P; 15] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 15] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 16]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 16] as ChoiceParser>::Input, state: &mut <[P; 16] as ChoiceParser>::PartialState ) -> FastResult<<[P; 16] as ChoiceParser>::Output, <<[P; 16] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 16] as ChoiceParser>::Input, state: &mut <[P; 16] as ChoiceParser>::PartialState ) -> FastResult<<[P; 16] as ChoiceParser>::Output, <<[P; 16] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 16] as ChoiceParser>::Input, state: &mut <[P; 16] as ChoiceParser>::PartialState ) -> FastResult<<[P; 16] as ChoiceParser>::Output, <<[P; 16] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 16] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 17]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 17] as ChoiceParser>::Input, state: &mut <[P; 17] as ChoiceParser>::PartialState ) -> FastResult<<[P; 17] as ChoiceParser>::Output, <<[P; 17] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 17] as ChoiceParser>::Input, state: &mut <[P; 17] as ChoiceParser>::PartialState ) -> FastResult<<[P; 17] as ChoiceParser>::Output, <<[P; 17] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 17] as ChoiceParser>::Input, state: &mut <[P; 17] as ChoiceParser>::PartialState ) -> FastResult<<[P; 17] as ChoiceParser>::Output, <<[P; 17] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 17] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 18]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 18] as ChoiceParser>::Input, state: &mut <[P; 18] as ChoiceParser>::PartialState ) -> FastResult<<[P; 18] as ChoiceParser>::Output, <<[P; 18] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 18] as ChoiceParser>::Input, state: &mut <[P; 18] as ChoiceParser>::PartialState ) -> FastResult<<[P; 18] as ChoiceParser>::Output, <<[P; 18] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 18] as ChoiceParser>::Input, state: &mut <[P; 18] as ChoiceParser>::PartialState ) -> FastResult<<[P; 18] as ChoiceParser>::Output, <<[P; 18] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 18] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 19]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 19] as ChoiceParser>::Input, state: &mut <[P; 19] as ChoiceParser>::PartialState ) -> FastResult<<[P; 19] as ChoiceParser>::Output, <<[P; 19] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 19] as ChoiceParser>::Input, state: &mut <[P; 19] as ChoiceParser>::PartialState ) -> FastResult<<[P; 19] as ChoiceParser>::Output, <<[P; 19] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 19] as ChoiceParser>::Input, state: &mut <[P; 19] as ChoiceParser>::PartialState ) -> FastResult<<[P; 19] as ChoiceParser>::Output, <<[P; 19] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 19] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 2]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 2] as ChoiceParser>::Input, state: &mut <[P; 2] as ChoiceParser>::PartialState ) -> FastResult<<[P; 2] as ChoiceParser>::Output, <<[P; 2] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 2] as ChoiceParser>::Input, state: &mut <[P; 2] as ChoiceParser>::PartialState ) -> FastResult<<[P; 2] as ChoiceParser>::Output, <<[P; 2] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 2] as ChoiceParser>::Input, state: &mut <[P; 2] as ChoiceParser>::PartialState ) -> FastResult<<[P; 2] as ChoiceParser>::Output, <<[P; 2] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 2] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 20]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 20] as ChoiceParser>::Input, state: &mut <[P; 20] as ChoiceParser>::PartialState ) -> FastResult<<[P; 20] as ChoiceParser>::Output, <<[P; 20] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 20] as ChoiceParser>::Input, state: &mut <[P; 20] as ChoiceParser>::PartialState ) -> FastResult<<[P; 20] as ChoiceParser>::Output, <<[P; 20] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 20] as ChoiceParser>::Input, state: &mut <[P; 20] as ChoiceParser>::PartialState ) -> FastResult<<[P; 20] as ChoiceParser>::Output, <<[P; 20] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 20] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 21]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 21] as ChoiceParser>::Input, state: &mut <[P; 21] as ChoiceParser>::PartialState ) -> FastResult<<[P; 21] as ChoiceParser>::Output, <<[P; 21] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 21] as ChoiceParser>::Input, state: &mut <[P; 21] as ChoiceParser>::PartialState ) -> FastResult<<[P; 21] as ChoiceParser>::Output, <<[P; 21] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 21] as ChoiceParser>::Input, state: &mut <[P; 21] as ChoiceParser>::PartialState ) -> FastResult<<[P; 21] as ChoiceParser>::Output, <<[P; 21] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 21] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 22]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 22] as ChoiceParser>::Input, state: &mut <[P; 22] as ChoiceParser>::PartialState ) -> FastResult<<[P; 22] as ChoiceParser>::Output, <<[P; 22] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 22] as ChoiceParser>::Input, state: &mut <[P; 22] as ChoiceParser>::PartialState ) -> FastResult<<[P; 22] as ChoiceParser>::Output, <<[P; 22] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 22] as ChoiceParser>::Input, state: &mut <[P; 22] as ChoiceParser>::PartialState ) -> FastResult<<[P; 22] as ChoiceParser>::Output, <<[P; 22] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 22] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 23]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 23] as ChoiceParser>::Input, state: &mut <[P; 23] as ChoiceParser>::PartialState ) -> FastResult<<[P; 23] as ChoiceParser>::Output, <<[P; 23] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 23] as ChoiceParser>::Input, state: &mut <[P; 23] as ChoiceParser>::PartialState ) -> FastResult<<[P; 23] as ChoiceParser>::Output, <<[P; 23] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 23] as ChoiceParser>::Input, state: &mut <[P; 23] as ChoiceParser>::PartialState ) -> FastResult<<[P; 23] as ChoiceParser>::Output, <<[P; 23] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 23] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 24]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 24] as ChoiceParser>::Input, state: &mut <[P; 24] as ChoiceParser>::PartialState ) -> FastResult<<[P; 24] as ChoiceParser>::Output, <<[P; 24] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 24] as ChoiceParser>::Input, state: &mut <[P; 24] as ChoiceParser>::PartialState ) -> FastResult<<[P; 24] as ChoiceParser>::Output, <<[P; 24] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 24] as ChoiceParser>::Input, state: &mut <[P; 24] as ChoiceParser>::PartialState ) -> FastResult<<[P; 24] as ChoiceParser>::Output, <<[P; 24] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 24] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 25]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 25] as ChoiceParser>::Input, state: &mut <[P; 25] as ChoiceParser>::PartialState ) -> FastResult<<[P; 25] as ChoiceParser>::Output, <<[P; 25] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 25] as ChoiceParser>::Input, state: &mut <[P; 25] as ChoiceParser>::PartialState ) -> FastResult<<[P; 25] as ChoiceParser>::Output, <<[P; 25] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 25] as ChoiceParser>::Input, state: &mut <[P; 25] as ChoiceParser>::PartialState ) -> FastResult<<[P; 25] as ChoiceParser>::Output, <<[P; 25] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 25] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 26]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 26] as ChoiceParser>::Input, state: &mut <[P; 26] as ChoiceParser>::PartialState ) -> FastResult<<[P; 26] as ChoiceParser>::Output, <<[P; 26] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 26] as ChoiceParser>::Input, state: &mut <[P; 26] as ChoiceParser>::PartialState ) -> FastResult<<[P; 26] as ChoiceParser>::Output, <<[P; 26] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 26] as ChoiceParser>::Input, state: &mut <[P; 26] as ChoiceParser>::PartialState ) -> FastResult<<[P; 26] as ChoiceParser>::Output, <<[P; 26] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 26] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 27]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 27] as ChoiceParser>::Input, state: &mut <[P; 27] as ChoiceParser>::PartialState ) -> FastResult<<[P; 27] as ChoiceParser>::Output, <<[P; 27] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 27] as ChoiceParser>::Input, state: &mut <[P; 27] as ChoiceParser>::PartialState ) -> FastResult<<[P; 27] as ChoiceParser>::Output, <<[P; 27] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 27] as ChoiceParser>::Input, state: &mut <[P; 27] as ChoiceParser>::PartialState ) -> FastResult<<[P; 27] as ChoiceParser>::Output, <<[P; 27] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 27] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 28]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 28] as ChoiceParser>::Input, state: &mut <[P; 28] as ChoiceParser>::PartialState ) -> FastResult<<[P; 28] as ChoiceParser>::Output, <<[P; 28] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 28] as ChoiceParser>::Input, state: &mut <[P; 28] as ChoiceParser>::PartialState ) -> FastResult<<[P; 28] as ChoiceParser>::Output, <<[P; 28] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 28] as ChoiceParser>::Input, state: &mut <[P; 28] as ChoiceParser>::PartialState ) -> FastResult<<[P; 28] as ChoiceParser>::Output, <<[P; 28] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 28] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 29]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 29] as ChoiceParser>::Input, state: &mut <[P; 29] as ChoiceParser>::PartialState ) -> FastResult<<[P; 29] as ChoiceParser>::Output, <<[P; 29] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 29] as ChoiceParser>::Input, state: &mut <[P; 29] as ChoiceParser>::PartialState ) -> FastResult<<[P; 29] as ChoiceParser>::Output, <<[P; 29] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 29] as ChoiceParser>::Input, state: &mut <[P; 29] as ChoiceParser>::PartialState ) -> FastResult<<[P; 29] as ChoiceParser>::Output, <<[P; 29] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 29] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 3]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 3] as ChoiceParser>::Input, state: &mut <[P; 3] as ChoiceParser>::PartialState ) -> FastResult<<[P; 3] as ChoiceParser>::Output, <<[P; 3] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 3] as ChoiceParser>::Input, state: &mut <[P; 3] as ChoiceParser>::PartialState ) -> FastResult<<[P; 3] as ChoiceParser>::Output, <<[P; 3] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 3] as ChoiceParser>::Input, state: &mut <[P; 3] as ChoiceParser>::PartialState ) -> FastResult<<[P; 3] as ChoiceParser>::Output, <<[P; 3] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 3] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 30]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 30] as ChoiceParser>::Input, state: &mut <[P; 30] as ChoiceParser>::PartialState ) -> FastResult<<[P; 30] as ChoiceParser>::Output, <<[P; 30] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 30] as ChoiceParser>::Input, state: &mut <[P; 30] as ChoiceParser>::PartialState ) -> FastResult<<[P; 30] as ChoiceParser>::Output, <<[P; 30] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 30] as ChoiceParser>::Input, state: &mut <[P; 30] as ChoiceParser>::PartialState ) -> FastResult<<[P; 30] as ChoiceParser>::Output, <<[P; 30] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 30] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 31]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 31] as ChoiceParser>::Input, state: &mut <[P; 31] as ChoiceParser>::PartialState ) -> FastResult<<[P; 31] as ChoiceParser>::Output, <<[P; 31] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 31] as ChoiceParser>::Input, state: &mut <[P; 31] as ChoiceParser>::PartialState ) -> FastResult<<[P; 31] as ChoiceParser>::Output, <<[P; 31] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 31] as ChoiceParser>::Input, state: &mut <[P; 31] as ChoiceParser>::PartialState ) -> FastResult<<[P; 31] as ChoiceParser>::Output, <<[P; 31] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 31] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 32]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 32] as ChoiceParser>::Input, state: &mut <[P; 32] as ChoiceParser>::PartialState ) -> FastResult<<[P; 32] as ChoiceParser>::Output, <<[P; 32] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 32] as ChoiceParser>::Input, state: &mut <[P; 32] as ChoiceParser>::PartialState ) -> FastResult<<[P; 32] as ChoiceParser>::Output, <<[P; 32] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 32] as ChoiceParser>::Input, state: &mut <[P; 32] as ChoiceParser>::PartialState ) -> FastResult<<[P; 32] as ChoiceParser>::Output, <<[P; 32] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 32] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 4]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 4] as ChoiceParser>::Input, state: &mut <[P; 4] as ChoiceParser>::PartialState ) -> FastResult<<[P; 4] as ChoiceParser>::Output, <<[P; 4] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 4] as ChoiceParser>::Input, state: &mut <[P; 4] as ChoiceParser>::PartialState ) -> FastResult<<[P; 4] as ChoiceParser>::Output, <<[P; 4] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 4] as ChoiceParser>::Input, state: &mut <[P; 4] as ChoiceParser>::PartialState ) -> FastResult<<[P; 4] as ChoiceParser>::Output, <<[P; 4] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 4] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 5]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 5] as ChoiceParser>::Input, state: &mut <[P; 5] as ChoiceParser>::PartialState ) -> FastResult<<[P; 5] as ChoiceParser>::Output, <<[P; 5] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 5] as ChoiceParser>::Input, state: &mut <[P; 5] as ChoiceParser>::PartialState ) -> FastResult<<[P; 5] as ChoiceParser>::Output, <<[P; 5] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 5] as ChoiceParser>::Input, state: &mut <[P; 5] as ChoiceParser>::PartialState ) -> FastResult<<[P; 5] as ChoiceParser>::Output, <<[P; 5] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 5] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 6]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 6] as ChoiceParser>::Input, state: &mut <[P; 6] as ChoiceParser>::PartialState ) -> FastResult<<[P; 6] as ChoiceParser>::Output, <<[P; 6] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 6] as ChoiceParser>::Input, state: &mut <[P; 6] as ChoiceParser>::PartialState ) -> FastResult<<[P; 6] as ChoiceParser>::Output, <<[P; 6] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 6] as ChoiceParser>::Input, state: &mut <[P; 6] as ChoiceParser>::PartialState ) -> FastResult<<[P; 6] as ChoiceParser>::Output, <<[P; 6] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 6] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 7]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 7] as ChoiceParser>::Input, state: &mut <[P; 7] as ChoiceParser>::PartialState ) -> FastResult<<[P; 7] as ChoiceParser>::Output, <<[P; 7] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 7] as ChoiceParser>::Input, state: &mut <[P; 7] as ChoiceParser>::PartialState ) -> FastResult<<[P; 7] as ChoiceParser>::Output, <<[P; 7] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 7] as ChoiceParser>::Input, state: &mut <[P; 7] as ChoiceParser>::PartialState ) -> FastResult<<[P; 7] as ChoiceParser>::Output, <<[P; 7] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 7] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 8]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 8] as ChoiceParser>::Input, state: &mut <[P; 8] as ChoiceParser>::PartialState ) -> FastResult<<[P; 8] as ChoiceParser>::Output, <<[P; 8] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 8] as ChoiceParser>::Input, state: &mut <[P; 8] as ChoiceParser>::PartialState ) -> FastResult<<[P; 8] as ChoiceParser>::Output, <<[P; 8] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 8] as ChoiceParser>::Input, state: &mut <[P; 8] as ChoiceParser>::PartialState ) -> FastResult<<[P; 8] as ChoiceParser>::Output, <<[P; 8] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 8] as ChoiceParser>::Input as StreamOnce>::Error> )

§

impl<P> ChoiceParser for [P; 9]where P: Parser,

§

type Input = <P as Parser>::Input

§

type Output = <P as Parser>::Output

§

type PartialState = <[P] as ChoiceParser>::PartialState

§

fn parse_partial( &mut self, input: &mut <[P; 9] as ChoiceParser>::Input, state: &mut <[P; 9] as ChoiceParser>::PartialState ) -> FastResult<<[P; 9] as ChoiceParser>::Output, <<[P; 9] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_first( &mut self, input: &mut <[P; 9] as ChoiceParser>::Input, state: &mut <[P; 9] as ChoiceParser>::PartialState ) -> FastResult<<[P; 9] as ChoiceParser>::Output, <<[P; 9] as ChoiceParser>::Input as StreamOnce>::Error>

§

fn parse_mode_choice<M>( &mut self, mode: M, input: &mut <[P; 9] as ChoiceParser>::Input, state: &mut <[P; 9] as ChoiceParser>::PartialState ) -> FastResult<<[P; 9] as ChoiceParser>::Output, <<[P; 9] as ChoiceParser>::Input as StreamOnce>::Error>where M: ParseMode,

§

fn add_error_choice( &mut self, error: &mut Tracked<<<[P; 9] as ChoiceParser>::Input as StreamOnce>::Error> )

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
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
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
source§

impl<'de, T, As, const N: usize> DeserializeAs<'de, [T; N]> for [As; N]where As: DeserializeAs<'de, T>,

source§

fn deserialize_as<D>( deserializer: D ) -> Result<[T; N], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer.
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<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B1>> ) -> [T; 39]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>>> for [T; 40]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>> ) -> [T; 40]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B1>>> for [T; 41]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B1>> ) -> [T; 41]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>>> for [T; 42]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>> ) -> [T; 42]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B1>>> for [T; 43]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B1>> ) -> [T; 43]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B0>>> for [T; 44]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B0>> ) -> [T; 44]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>>> for [T; 45]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>> ) -> [T; 45]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B0>>> for [T; 46]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B0>> ) -> [T; 46]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B1>>> for [T; 47]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B1>> ) -> [T; 47]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>> for [T; 48]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>> ) -> [T; 48]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B1>>> for [T; 49]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B1>> ) -> [T; 49]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>>> for [T; 50]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>> ) -> [T; 50]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B1>>> for [T; 51]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B1>> ) -> [T; 51]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B0>>> for [T; 52]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B0>> ) -> [T; 52]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B1>>> for [T; 53]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B1>> ) -> [T; 53]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B0>>> for [T; 54]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B0>> ) -> [T; 54]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B1>>> for [T; 55]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B1>> ) -> [T; 55]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>>> for [T; 56]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>> ) -> [T; 56]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B1>>> for [T; 57]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B1>> ) -> [T; 57]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B0>>> for [T; 58]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B0>> ) -> [T; 58]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B1>>> for [T; 59]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B1>> ) -> [T; 59]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B0>>> for [T; 60]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B0>> ) -> [T; 60]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B1>>> for [T; 61]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B1>> ) -> [T; 61]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>>> for [T; 62]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>> ) -> [T; 62]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B1>>> for [T; 63]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B1>> ) -> [T; 63]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>> for [T; 16]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>> ) -> [T; 16]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>>> for [T; 17]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>> ) -> [T; 17]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>>> for [T; 18]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>> ) -> [T; 18]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>>> for [T; 19]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>> ) -> [T; 19]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>>> for [T; 20]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>> ) -> [T; 20]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>>> for [T; 21]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>> ) -> [T; 21]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>>> for [T; 22]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>> ) -> [T; 22]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>>> for [T; 23]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>> ) -> [T; 23]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>>> for [T; 24]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>> ) -> [T; 24]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>>> for [T; 25]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>> ) -> [T; 25]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>>> for [T; 26]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>> ) -> [T; 26]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>>> for [T; 27]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>> ) -> [T; 27]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for [T; 28]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>> ) -> [T; 28]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>>> for [T; 29]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>> ) -> [T; 29]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>>> for [T; 30]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>> ) -> [T; 30]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>>> for [T; 31]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>> ) -> [T; 31]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>>> for [T; 8]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>> ) -> [T; 8]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>>> for [T; 9]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>> ) -> [T; 9]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>>> for [T; 10]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>> ) -> [T; 10]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>>> for [T; 11]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>> ) -> [T; 11]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>>> for [T; 12]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>> ) -> [T; 12]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>>> for [T; 13]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>> ) -> [T; 13]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>>> for [T; 14]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>> ) -> [T; 14]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>>> for [T; 15]

§

fn from( sel: GenericArray<T, UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>> ) -> [T; 15]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>> for [T; 4]

§

fn from(sel: GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B0>>) -> [T; 4]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>> for [T; 5]

§

fn from(sel: GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B0>, B1>>) -> [T; 5]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>> for [T; 6]

§

fn from(sel: GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B0>>) -> [T; 6]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>> for [T; 7]

§

fn from(sel: GenericArray<T, UInt<UInt<UInt<UTerm, B1>, B1>, B1>>) -> [T; 7]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UTerm, B1>, B0>>> for [T; 2]

§

fn from(sel: GenericArray<T, UInt<UInt<UTerm, B1>, B0>>) -> [T; 2]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UInt<UTerm, B1>, B1>>> for [T; 3]

§

fn from(sel: GenericArray<T, UInt<UInt<UTerm, B1>, B1>>) -> [T; 3]

Converts to this type from the input type.
§

impl<T> From<GenericArray<T, UInt<UTerm, B1>>> for [T; 1]

§

fn from(sel: GenericArray<T, UInt<UTerm, B1>>) -> [T; 1]

Converts to this type from the input type.
source§

impl<T, const N: usize> From<Simd<T, N>> for [T; N]where LaneCount<N>: SupportedLaneCount, T: SimdElement,

source§

fn from(vector: Simd<T, N>) -> [T; N]

Converts to this type from the input type.
§

impl From<vec128_storage> for [u64; 2]

§

fn from(vec: vec128_storage) -> [u64; 2]

Converts to this type from the input type.
§

impl From<vec256_storage> for [u64; 4]

§

fn from(vec: vec256_storage) -> [u64; 4]

Converts to this type from the input type.
§

impl From<vec512_storage> for [u64; 8]

§

fn from(vec: vec512_storage) -> [u64; 8]

Converts to this type from the input type.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
§

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

§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher.
§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher.
1.0.0 · source§

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

The hash of an array is the same as that of the corresponding slice, as required by the Borrow implementation.

use std::hash::BuildHasher;

let b = std::collections::hash_map::RandomState::new();
let a: [u8; 3] = [0xa8, 0x3c, 0x09];
let s: &[u8] = &[0xa8, 0x3c, 0x09];
assert_eq!(b.hash_one(a), b.hash_one(s));
source§

fn hash<H>(&self, state: &mut H)where H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
1.50.0 · source§

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

§

type Output = <[T] as Index<I>>::Output

The returned type after indexing.
source§

fn index(&self, index: I) -> &<[T; N] as Index<I>>::Output

Performs the indexing (container[index]) operation. Read more
1.50.0 · source§

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

source§

fn index_mut(&mut self, index: I) -> &mut <[T; N] as Index<I>>::Output

Performs the mutable indexing (container[index]) operation. Read more
1.53.0 · source§

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

source§

fn into_iter(self) -> <[T; N] as IntoIterator>::IntoIter

Creates a consuming iterator, that is, one that moves each value out of the array (from start to end). The array cannot be used after calling this unless T implements Copy, so the whole array is copied.

Arrays have special behavior when calling .into_iter() prior to the 2021 edition – see the array Editions section for more information.

§

type Item = T

The type of the elements being iterated over.
§

type IntoIter = IntoIter<T, N>

Which kind of iterator are we turning this into?
source§

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

§

type Item = T

The type of item that the parallel iterator will produce.
§

type Iter = IntoIter<T, N>

The parallel iterator type that will be created.
source§

fn into_par_iter(self) -> <[T; N] as IntoParallelIterator>::Iter

Converts self into a parallel iterator. Read more
1.0.0 · source§

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

Implements comparison of arrays lexicographically.

source§

fn cmp(&self, other: &[T; N]) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
1.0.0 · source§

impl<A, B, const N: usize> PartialEq<&[B]> for [A; N]where A: PartialEq<B>,

source§

fn eq(&self, other: &&[B]) -> bool

This method tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &&[B]) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 · source§

impl<A, B, const N: usize> PartialEq<&mut [B]> for [A; N]where A: PartialEq<B>,

source§

fn eq(&self, other: &&mut [B]) -> bool

This method tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &&mut [B]) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 · source§

impl<A, B, const N: usize> PartialEq<[B]> for [A; N]where A: PartialEq<B>,

source§

fn eq(&self, other: &[B]) -> bool

This method tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &[B]) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 · source§

impl<A, B, const N: usize> PartialEq<[B; N]> for [A; N]where A: PartialEq<B>,

source§

fn eq(&self, other: &[B; N]) -> bool

This method tests for self and other values to be equal, and is used by ==.
source§

fn ne(&self, other: &[B; N]) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
1.0.0 · source§

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

source§

fn partial_cmp(&self, other: &[T; N]) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
source§

fn lt(&self, other: &[T; N]) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
source§

fn le(&self, other: &[T; N]) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
source§

fn ge(&self, other: &[T; N]) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

fn gt(&self, other: &[T; N]) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
§

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

§

const CARDINALITY: usize = _

Number of values of type Self. Read more
§

fn next(&self) -> Option<[T; N]>

Returns value following *self or None if this was the end. Read more
§

fn previous(&self) -> Option<[T; N]>

Returns value preceding *self or None if this was the beginning. Read more
§

fn first() -> Option<[T; N]>

Returns the first value of type Self. Read more
§

fn last() -> Option<[T; N]>

Returns the last value of type Self. Read more
source§

impl<T> Serialize for [T; 0]

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

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

source§

fn serialize_as<S>( array: &[T; N], serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,

Serialize this value into the given Serde serializer.
1.51.0 · source§

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

§

type Item = T

🔬This is a nightly-only experimental API. (slice_pattern)
The element type of the slice being matched on.
source§

fn as_slice(&self) -> &[<[T; N] as SlicePattern>::Item]

🔬This is a nightly-only experimental API. (slice_pattern)
Currently, the consumers of SlicePattern need a slice.
1.34.0 · source§

impl<T, const N: usize> TryFrom<&[T]> for [T; N]where T: Copy,

Tries to create an array [T; N] by copying from a slice &[T]. Succeeds if slice.len() == N.

let bytes: [u8; 3] = [1, 0, 2];

let bytes_head: [u8; 2] = <[u8; 2]>::try_from(&bytes[0..2]).unwrap();
assert_eq!(1, u16::from_le_bytes(bytes_head));

let bytes_tail: [u8; 2] = bytes[1..3].try_into().unwrap();
assert_eq!(512, u16::from_le_bytes(bytes_tail));
§

type Error = TryFromSliceError

The type returned in the event of a conversion error.
source§

fn try_from(slice: &[T]) -> Result<[T; N], TryFromSliceError>

Performs the conversion.
1.59.0 · source§

impl<T, const N: usize> TryFrom<&mut [T]> for [T; N]where T: Copy,

Tries to create an array [T; N] by copying from a mutable slice &mut [T]. Succeeds if slice.len() == N.

let mut bytes: [u8; 3] = [1, 0, 2];

let bytes_head: [u8; 2] = <[u8; 2]>::try_from(&mut bytes[0..2]).unwrap();
assert_eq!(1, u16::from_le_bytes(bytes_head));

let bytes_tail: [u8; 2] = (&mut bytes[1..3]).try_into().unwrap();
assert_eq!(512, u16::from_le_bytes(bytes_tail));
§

type Error = TryFromSliceError

The type returned in the event of a conversion error.
source§

fn try_from(slice: &mut [T]) -> Result<[T; N], TryFromSliceError>

Performs the conversion.
1.48.0 · source§

impl<T, A, const N: usize> TryFrom<Vec<T, A>> for [T; N]where A: Allocator,

source§

fn try_from(vec: Vec<T, A>) -> Result<[T; N], Vec<T, A>>

Gets the entire contents of the Vec<T> as an array, if its size exactly matches that of the requested array.

Examples
assert_eq!(vec![1, 2, 3].try_into(), Ok([1, 2, 3]));
assert_eq!(<Vec<i32>>::new().try_into(), Ok([]));

If the length doesn’t match, the input comes back in Err:

let r: Result<[i32; 4], _> = (0..10).collect::<Vec<_>>().try_into();
assert_eq!(r, Err(vec![0, 1, 2, 3, 4, 5, 6, 7, 8, 9]));

If you’re fine with just getting a prefix of the Vec<T>, you can call .truncate(N) first.

let mut v = String::from("hello world").into_bytes();
v.sort();
v.truncate(2);
let [a, b]: [_; 2] = v.try_into().unwrap();
assert_eq!(a, b' ');
assert_eq!(b, b'd');
§

type Error = Vec<T, A>

The type returned in the event of a conversion error.
§

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

§

fn check(&self) -> Result<(), SerializationError>

§

fn batch_check<'a>( batch: impl Iterator<Item = &'a [T; N]> + Send ) -> Result<(), SerializationError>where [T; N]: 'a,

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

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

source§

fn zeroed() -> Self

source§

impl<T> Zeroable for [T; 96]where T: Zeroable,

source§

fn zeroed() -> Self

source§

impl<Z> Zeroize for [Z; 1]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 10]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 11]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 12]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 13]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 14]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 15]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 16]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 17]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 18]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 19]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 2]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 20]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 21]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 22]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 23]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 24]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 25]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 26]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 27]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 28]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 29]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 3]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 30]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 31]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 32]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 33]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 34]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 35]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 36]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 37]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 38]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 39]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 4]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 40]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 41]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 42]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 43]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 44]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 45]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 46]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 47]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 48]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 49]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 5]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 50]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 51]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 52]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 53]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 54]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 55]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 56]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 57]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 58]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 59]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 6]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 60]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 61]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 62]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 63]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 64]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 7]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 8]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

impl<Z> Zeroize for [Z; 9]where Z: Zeroize,

source§

fn zeroize(&mut self)

Zero out this object from memory using Rust intrinsics which ensure the zeroization operation is not “optimized away” by the compiler.
source§

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

1.58.0 · source§

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

1.0.0 · source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl<T> Pod for [T; 96]where T: Pod,

source§

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

source§

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