Type Alias solana_runtime::commitment::BlockCommitmentArray
source · pub type BlockCommitmentArray = [u64; 32];
Implementations§
source§impl<T, const N: usize> [T; N]
impl<T, const N: usize> [T; N]
1.55.0 · sourcepub fn map<F, U>(self, f: F) -> [U; N]where
F: FnMut(T) -> U,
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]);
sourcepub 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
)
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]>,
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) · sourcepub const fn as_slice(&self) -> &[T]
pub const fn as_slice(&self) -> &[T]
Returns a slice containing the entire array. Equivalent to &s[..]
.
1.57.0 · sourcepub fn as_mut_slice(&mut self) -> &mut [T]
pub fn as_mut_slice(&mut self) -> &mut [T]
Returns a mutable slice containing the entire array. Equivalent to
&mut s[..]
.
sourcepub fn each_ref(&self) -> [&T; N]
🔬This is a nightly-only experimental API. (array_methods
)
pub fn each_ref(&self) -> [&T; N]
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);
sourcepub fn each_mut(&mut self) -> [&mut T; N]
🔬This is a nightly-only experimental API. (array_methods
)
pub fn each_mut(&mut self) -> [&mut T; N]
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]);
sourcepub fn split_array_ref<const M: usize>(&self) -> (&[T; M], &[T])
🔬This is a nightly-only experimental API. (split_array
)
pub fn split_array_ref<const M: usize>(&self) -> (&[T; M], &[T])
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, &[]);
}
sourcepub fn split_array_mut<const M: usize>(&mut self) -> (&mut [T; M], &mut [T])
🔬This is a nightly-only experimental API. (split_array
)
pub fn split_array_mut<const M: usize>(&mut self) -> (&mut [T; M], &mut [T])
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]);
sourcepub fn rsplit_array_ref<const M: usize>(&self) -> (&[T], &[T; M])
🔬This is a nightly-only experimental API. (split_array
)
pub fn rsplit_array_ref<const M: usize>(&self) -> (&[T], &[T; M])
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]);
}
sourcepub fn rsplit_array_mut<const M: usize>(&mut self) -> (&mut [T], &mut [T; M])
🔬This is a nightly-only experimental API. (split_array
)
pub fn rsplit_array_mut<const M: usize>(&mut self) -> (&mut [T], &mut [T; M])
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; 1]where
T: AbiExample,
impl<T> AbiExample for [T; 1]where T: AbiExample,
source§impl<T> AbiExample for [T; 10]where
T: AbiExample,
impl<T> AbiExample for [T; 10]where T: AbiExample,
source§impl<T> AbiExample for [T; 11]where
T: AbiExample,
impl<T> AbiExample for [T; 11]where T: AbiExample,
source§impl<T> AbiExample for [T; 12]where
T: AbiExample,
impl<T> AbiExample for [T; 12]where T: AbiExample,
source§impl<T> AbiExample for [T; 13]where
T: AbiExample,
impl<T> AbiExample for [T; 13]where T: AbiExample,
source§impl<T> AbiExample for [T; 14]where
T: AbiExample,
impl<T> AbiExample for [T; 14]where T: AbiExample,
source§impl<T> AbiExample for [T; 15]where
T: AbiExample,
impl<T> AbiExample for [T; 15]where T: AbiExample,
source§impl<T> AbiExample for [T; 16]where
T: AbiExample,
impl<T> AbiExample for [T; 16]where T: AbiExample,
source§impl<T> AbiExample for [T; 17]where
T: AbiExample,
impl<T> AbiExample for [T; 17]where T: AbiExample,
source§impl<T> AbiExample for [T; 18]where
T: AbiExample,
impl<T> AbiExample for [T; 18]where T: AbiExample,
source§impl<T> AbiExample for [T; 19]where
T: AbiExample,
impl<T> AbiExample for [T; 19]where T: AbiExample,
source§impl<T> AbiExample for [T; 2]where
T: AbiExample,
impl<T> AbiExample for [T; 2]where T: AbiExample,
source§impl<T> AbiExample for [T; 20]where
T: AbiExample,
impl<T> AbiExample for [T; 20]where T: AbiExample,
source§impl<T> AbiExample for [T; 21]where
T: AbiExample,
impl<T> AbiExample for [T; 21]where T: AbiExample,
source§impl<T> AbiExample for [T; 22]where
T: AbiExample,
impl<T> AbiExample for [T; 22]where T: AbiExample,
source§impl<T> AbiExample for [T; 23]where
T: AbiExample,
impl<T> AbiExample for [T; 23]where T: AbiExample,
source§impl<T> AbiExample for [T; 24]where
T: AbiExample,
impl<T> AbiExample for [T; 24]where T: AbiExample,
source§impl<T> AbiExample for [T; 25]where
T: AbiExample,
impl<T> AbiExample for [T; 25]where T: AbiExample,
source§impl<T> AbiExample for [T; 26]where
T: AbiExample,
impl<T> AbiExample for [T; 26]where T: AbiExample,
source§impl<T> AbiExample for [T; 27]where
T: AbiExample,
impl<T> AbiExample for [T; 27]where T: AbiExample,
source§impl<T> AbiExample for [T; 28]where
T: AbiExample,
impl<T> AbiExample for [T; 28]where T: AbiExample,
source§impl<T> AbiExample for [T; 29]where
T: AbiExample,
impl<T> AbiExample for [T; 29]where T: AbiExample,
source§impl<T> AbiExample for [T; 3]where
T: AbiExample,
impl<T> AbiExample for [T; 3]where T: AbiExample,
source§impl<T> AbiExample for [T; 30]where
T: AbiExample,
impl<T> AbiExample for [T; 30]where T: AbiExample,
source§impl<T> AbiExample for [T; 31]where
T: AbiExample,
impl<T> AbiExample for [T; 31]where T: AbiExample,
source§impl<T> AbiExample for [T; 32]where
T: AbiExample,
impl<T> AbiExample for [T; 32]where T: AbiExample,
source§impl<T> AbiExample for [T; 4]where
T: AbiExample,
impl<T> AbiExample for [T; 4]where T: AbiExample,
source§impl<T> AbiExample for [T; 5]where
T: AbiExample,
impl<T> AbiExample for [T; 5]where T: AbiExample,
source§impl<T> AbiExample for [T; 6]where
T: AbiExample,
impl<T> AbiExample for [T; 6]where T: AbiExample,
source§impl<T> AbiExample for [T; 7]where
T: AbiExample,
impl<T> AbiExample for [T; 7]where T: AbiExample,
source§impl<T> AbiExample for [T; 8]where
T: AbiExample,
impl<T> AbiExample for [T; 8]where T: AbiExample,
source§impl<T> AbiExample for [T; 9]where
T: AbiExample,
impl<T> AbiExample for [T; 9]where T: AbiExample,
§impl<T> Array for [T; 0]where
T: Default,
impl<T> Array for [T; 0]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 1]where
T: Default,
impl<T> Array for [T; 1]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 10]where
T: Default,
impl<T> Array for [T; 10]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 1024]where
T: Default,
impl<T> Array for [T; 1024]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 11]where
T: Default,
impl<T> Array for [T; 11]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 12]where
T: Default,
impl<T> Array for [T; 12]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 128]where
T: Default,
impl<T> Array for [T; 128]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 13]where
T: Default,
impl<T> Array for [T; 13]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 14]where
T: Default,
impl<T> Array for [T; 14]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 15]where
T: Default,
impl<T> Array for [T; 15]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 16]where
T: Default,
impl<T> Array for [T; 16]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 17]where
T: Default,
impl<T> Array for [T; 17]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 18]where
T: Default,
impl<T> Array for [T; 18]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 19]where
T: Default,
impl<T> Array for [T; 19]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 2]where
T: Default,
impl<T> Array for [T; 2]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 20]where
T: Default,
impl<T> Array for [T; 20]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 2048]where
T: Default,
impl<T> Array for [T; 2048]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 21]where
T: Default,
impl<T> Array for [T; 21]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 22]where
T: Default,
impl<T> Array for [T; 22]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 23]where
T: Default,
impl<T> Array for [T; 23]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 24]where
T: Default,
impl<T> Array for [T; 24]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 25]where
T: Default,
impl<T> Array for [T; 25]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 256]where
T: Default,
impl<T> Array for [T; 256]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 26]where
T: Default,
impl<T> Array for [T; 26]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 27]where
T: Default,
impl<T> Array for [T; 27]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 28]where
T: Default,
impl<T> Array for [T; 28]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 29]where
T: Default,
impl<T> Array for [T; 29]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 3]where
T: Default,
impl<T> Array for [T; 3]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 30]where
T: Default,
impl<T> Array for [T; 30]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 31]where
T: Default,
impl<T> Array for [T; 31]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 32]where
T: Default,
impl<T> Array for [T; 32]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 33]where
T: Default,
impl<T> Array for [T; 33]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 4]where
T: Default,
impl<T> Array for [T; 4]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 4096]where
T: Default,
impl<T> Array for [T; 4096]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 5]where
T: Default,
impl<T> Array for [T; 5]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 512]where
T: Default,
impl<T> Array for [T; 512]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 6]where
T: Default,
impl<T> Array for [T; 6]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 64]where
T: Default,
impl<T> Array for [T; 64]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 7]where
T: Default,
impl<T> Array for [T; 7]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 8]where
T: Default,
impl<T> Array for [T; 8]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
§impl<T> Array for [T; 9]where
T: Default,
impl<T> Array for [T; 9]where T: Default,
§fn as_slice_mut(&mut self) -> &mut [T]
fn as_slice_mut(&mut self) -> &mut [T]
source§impl<T> AsByteSliceMut for [T; 0]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 0]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 1]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 1]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 10]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 10]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 1024]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 1024]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 11]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 11]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 12]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 12]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 128]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 128]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 13]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 13]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 14]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 14]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 15]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 15]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 16]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 16]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 17]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 17]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 18]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 18]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 19]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 19]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 2]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 2]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 20]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 20]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 2048]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 2048]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 21]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 21]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 22]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 22]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 23]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 23]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 24]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 24]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 25]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 25]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 256]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 256]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 26]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 26]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 27]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 27]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 28]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 28]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 29]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 29]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 3]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 3]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 30]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 30]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 31]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 31]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 32]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 32]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 4]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 4]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 4096]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 4096]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 5]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 5]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 512]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 512]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 6]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 6]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 64]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 64]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 7]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 7]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 8]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 8]where [T]: AsByteSliceMut,
source§impl<T> AsByteSliceMut for [T; 9]where
[T]: AsByteSliceMut,
impl<T> AsByteSliceMut for [T; 9]where [T]: AsByteSliceMut,
source§impl<Block> Bits for [Block; 0]where
Block: BlockType,
impl<Block> Bits for [Block; 0]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 0] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 0] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 1]where
Block: BlockType,
impl<Block> Bits for [Block; 1]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 1] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 1] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 10]where
Block: BlockType,
impl<Block> Bits for [Block; 10]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 10] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 10] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 1024]where
Block: BlockType,
impl<Block> Bits for [Block; 1024]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 1024] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 1024] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 1048576]where
Block: BlockType,
impl<Block> Bits for [Block; 1048576]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 1048576] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 1048576] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 11]where
Block: BlockType,
impl<Block> Bits for [Block; 11]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 11] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 11] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 12]where
Block: BlockType,
impl<Block> Bits for [Block; 12]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 12] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 12] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 128]where
Block: BlockType,
impl<Block> Bits for [Block; 128]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 128] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 128] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 13]where
Block: BlockType,
impl<Block> Bits for [Block; 13]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 13] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 13] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 131072]where
Block: BlockType,
impl<Block> Bits for [Block; 131072]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 131072] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 131072] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 14]where
Block: BlockType,
impl<Block> Bits for [Block; 14]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 14] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 14] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 15]where
Block: BlockType,
impl<Block> Bits for [Block; 15]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 15] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 15] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 16]where
Block: BlockType,
impl<Block> Bits for [Block; 16]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 16] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 16] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 16384]where
Block: BlockType,
impl<Block> Bits for [Block; 16384]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 16384] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 16384] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 17]where
Block: BlockType,
impl<Block> Bits for [Block; 17]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 17] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 17] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 18]where
Block: BlockType,
impl<Block> Bits for [Block; 18]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 18] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 18] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 19]where
Block: BlockType,
impl<Block> Bits for [Block; 19]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 19] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 19] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 2]where
Block: BlockType,
impl<Block> Bits for [Block; 2]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 2] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 2] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 20]where
Block: BlockType,
impl<Block> Bits for [Block; 20]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 20] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 20] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 2048]where
Block: BlockType,
impl<Block> Bits for [Block; 2048]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 2048] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 2048] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 21]where
Block: BlockType,
impl<Block> Bits for [Block; 21]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 21] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 21] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 22]where
Block: BlockType,
impl<Block> Bits for [Block; 22]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 22] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 22] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 23]where
Block: BlockType,
impl<Block> Bits for [Block; 23]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 23] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 23] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 24]where
Block: BlockType,
impl<Block> Bits for [Block; 24]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 24] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 24] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 25]where
Block: BlockType,
impl<Block> Bits for [Block; 25]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 25] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 25] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 256]where
Block: BlockType,
impl<Block> Bits for [Block; 256]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 256] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 256] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 26]where
Block: BlockType,
impl<Block> Bits for [Block; 26]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 26] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 26] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 262144]where
Block: BlockType,
impl<Block> Bits for [Block; 262144]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 262144] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 262144] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 27]where
Block: BlockType,
impl<Block> Bits for [Block; 27]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 27] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 27] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 28]where
Block: BlockType,
impl<Block> Bits for [Block; 28]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 28] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 28] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 29]where
Block: BlockType,
impl<Block> Bits for [Block; 29]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 29] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 29] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 3]where
Block: BlockType,
impl<Block> Bits for [Block; 3]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 3] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 3] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 30]where
Block: BlockType,
impl<Block> Bits for [Block; 30]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 30] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 30] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 31]where
Block: BlockType,
impl<Block> Bits for [Block; 31]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 31] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 31] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 32]where
Block: BlockType,
impl<Block> Bits for [Block; 32]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 32] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 32] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 32768]where
Block: BlockType,
impl<Block> Bits for [Block; 32768]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 32768] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 32768] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 4]where
Block: BlockType,
impl<Block> Bits for [Block; 4]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 4] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 4] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 4096]where
Block: BlockType,
impl<Block> Bits for [Block; 4096]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 4096] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 4096] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 5]where
Block: BlockType,
impl<Block> Bits for [Block; 5]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 5] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 5] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 512]where
Block: BlockType,
impl<Block> Bits for [Block; 512]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 512] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 512] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 524288]where
Block: BlockType,
impl<Block> Bits for [Block; 524288]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 524288] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 524288] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 6]where
Block: BlockType,
impl<Block> Bits for [Block; 6]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 6] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 6] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 64]where
Block: BlockType,
impl<Block> Bits for [Block; 64]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 64] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 64] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 65536]where
Block: BlockType,
impl<Block> Bits for [Block; 65536]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 65536] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 65536] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 7]where
Block: BlockType,
impl<Block> Bits for [Block; 7]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 7] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 7] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 8]where
Block: BlockType,
impl<Block> Bits for [Block; 8]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 8] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 8] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 8192]where
Block: BlockType,
impl<Block> Bits for [Block; 8192]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 8192] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 8192] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> Bits for [Block; 9]where
Block: BlockType,
impl<Block> Bits for [Block; 9]where Block: BlockType,
source§fn get_block(&self, position: usize) -> <[Block; 9] as Bits>::Block
fn get_block(&self, position: usize) -> <[Block; 9] as Bits>::Block
position
, masked as necessary. Read moresource§fn get_raw_block(&self, position: usize) -> Self::Block
fn get_raw_block(&self, position: usize) -> Self::Block
position
, without masking. Read moresource§impl<Block> BitsMut for [Block; 0]where
Block: BlockType,
impl<Block> BitsMut for [Block; 0]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 1]where
Block: BlockType,
impl<Block> BitsMut for [Block; 1]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 10]where
Block: BlockType,
impl<Block> BitsMut for [Block; 10]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 1024]where
Block: BlockType,
impl<Block> BitsMut for [Block; 1024]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 1048576]where
Block: BlockType,
impl<Block> BitsMut for [Block; 1048576]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 11]where
Block: BlockType,
impl<Block> BitsMut for [Block; 11]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 12]where
Block: BlockType,
impl<Block> BitsMut for [Block; 12]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 128]where
Block: BlockType,
impl<Block> BitsMut for [Block; 128]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 13]where
Block: BlockType,
impl<Block> BitsMut for [Block; 13]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 131072]where
Block: BlockType,
impl<Block> BitsMut for [Block; 131072]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 14]where
Block: BlockType,
impl<Block> BitsMut for [Block; 14]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 15]where
Block: BlockType,
impl<Block> BitsMut for [Block; 15]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 16]where
Block: BlockType,
impl<Block> BitsMut for [Block; 16]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 16384]where
Block: BlockType,
impl<Block> BitsMut for [Block; 16384]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 17]where
Block: BlockType,
impl<Block> BitsMut for [Block; 17]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 18]where
Block: BlockType,
impl<Block> BitsMut for [Block; 18]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 19]where
Block: BlockType,
impl<Block> BitsMut for [Block; 19]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 2]where
Block: BlockType,
impl<Block> BitsMut for [Block; 2]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 20]where
Block: BlockType,
impl<Block> BitsMut for [Block; 20]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 2048]where
Block: BlockType,
impl<Block> BitsMut for [Block; 2048]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 21]where
Block: BlockType,
impl<Block> BitsMut for [Block; 21]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 22]where
Block: BlockType,
impl<Block> BitsMut for [Block; 22]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 23]where
Block: BlockType,
impl<Block> BitsMut for [Block; 23]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 24]where
Block: BlockType,
impl<Block> BitsMut for [Block; 24]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 25]where
Block: BlockType,
impl<Block> BitsMut for [Block; 25]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 256]where
Block: BlockType,
impl<Block> BitsMut for [Block; 256]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 26]where
Block: BlockType,
impl<Block> BitsMut for [Block; 26]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 262144]where
Block: BlockType,
impl<Block> BitsMut for [Block; 262144]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 27]where
Block: BlockType,
impl<Block> BitsMut for [Block; 27]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 28]where
Block: BlockType,
impl<Block> BitsMut for [Block; 28]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 29]where
Block: BlockType,
impl<Block> BitsMut for [Block; 29]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 3]where
Block: BlockType,
impl<Block> BitsMut for [Block; 3]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 30]where
Block: BlockType,
impl<Block> BitsMut for [Block; 30]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 31]where
Block: BlockType,
impl<Block> BitsMut for [Block; 31]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 32]where
Block: BlockType,
impl<Block> BitsMut for [Block; 32]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 32768]where
Block: BlockType,
impl<Block> BitsMut for [Block; 32768]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 4]where
Block: BlockType,
impl<Block> BitsMut for [Block; 4]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 4096]where
Block: BlockType,
impl<Block> BitsMut for [Block; 4096]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 5]where
Block: BlockType,
impl<Block> BitsMut for [Block; 5]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 512]where
Block: BlockType,
impl<Block> BitsMut for [Block; 512]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 524288]where
Block: BlockType,
impl<Block> BitsMut for [Block; 524288]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 6]where
Block: BlockType,
impl<Block> BitsMut for [Block; 6]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 64]where
Block: BlockType,
impl<Block> BitsMut for [Block; 64]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 65536]where
Block: BlockType,
impl<Block> BitsMut for [Block; 65536]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 7]where
Block: BlockType,
impl<Block> BitsMut for [Block; 7]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 8]where
Block: BlockType,
impl<Block> BitsMut for [Block; 8]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 8192]where
Block: BlockType,
impl<Block> BitsMut for [Block; 8192]where Block: BlockType,
source§impl<Block> BitsMut for [Block; 9]where
Block: BlockType,
impl<Block> BitsMut for [Block; 9]where Block: BlockType,
1.4.0 · source§impl<T, const N: usize> BorrowMut<[T]> for [T; N]
impl<T, const N: usize> BorrowMut<[T]> for [T; N]
source§fn borrow_mut(&mut self) -> &mut [T]
fn borrow_mut(&mut self) -> &mut [T]
§impl<T, const N: usize> BorshDeserialize for [T; N]where
T: BorshDeserialize,
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>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where R: Read,
§impl<T> BorshSchema for [T; 0]where
T: BorshSchema,
impl<T> BorshSchema for [T; 0]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 1]where
T: BorshSchema,
impl<T> BorshSchema for [T; 1]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 10]where
T: BorshSchema,
impl<T> BorshSchema for [T; 10]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 1024]where
T: BorshSchema,
impl<T> BorshSchema for [T; 1024]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 11]where
T: BorshSchema,
impl<T> BorshSchema for [T; 11]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 12]where
T: BorshSchema,
impl<T> BorshSchema for [T; 12]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 128]where
T: BorshSchema,
impl<T> BorshSchema for [T; 128]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 13]where
T: BorshSchema,
impl<T> BorshSchema for [T; 13]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 14]where
T: BorshSchema,
impl<T> BorshSchema for [T; 14]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 15]where
T: BorshSchema,
impl<T> BorshSchema for [T; 15]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 16]where
T: BorshSchema,
impl<T> BorshSchema for [T; 16]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 17]where
T: BorshSchema,
impl<T> BorshSchema for [T; 17]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 18]where
T: BorshSchema,
impl<T> BorshSchema for [T; 18]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 19]where
T: BorshSchema,
impl<T> BorshSchema for [T; 19]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 2]where
T: BorshSchema,
impl<T> BorshSchema for [T; 2]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 20]where
T: BorshSchema,
impl<T> BorshSchema for [T; 20]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 2048]where
T: BorshSchema,
impl<T> BorshSchema for [T; 2048]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 21]where
T: BorshSchema,
impl<T> BorshSchema for [T; 21]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 22]where
T: BorshSchema,
impl<T> BorshSchema for [T; 22]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 23]where
T: BorshSchema,
impl<T> BorshSchema for [T; 23]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 24]where
T: BorshSchema,
impl<T> BorshSchema for [T; 24]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 25]where
T: BorshSchema,
impl<T> BorshSchema for [T; 25]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 256]where
T: BorshSchema,
impl<T> BorshSchema for [T; 256]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 26]where
T: BorshSchema,
impl<T> BorshSchema for [T; 26]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 27]where
T: BorshSchema,
impl<T> BorshSchema for [T; 27]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 28]where
T: BorshSchema,
impl<T> BorshSchema for [T; 28]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 29]where
T: BorshSchema,
impl<T> BorshSchema for [T; 29]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 3]where
T: BorshSchema,
impl<T> BorshSchema for [T; 3]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 30]where
T: BorshSchema,
impl<T> BorshSchema for [T; 30]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 31]where
T: BorshSchema,
impl<T> BorshSchema for [T; 31]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 32]where
T: BorshSchema,
impl<T> BorshSchema for [T; 32]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 4]where
T: BorshSchema,
impl<T> BorshSchema for [T; 4]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 5]where
T: BorshSchema,
impl<T> BorshSchema for [T; 5]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 512]where
T: BorshSchema,
impl<T> BorshSchema for [T; 512]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 6]where
T: BorshSchema,
impl<T> BorshSchema for [T; 6]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 64]where
T: BorshSchema,
impl<T> BorshSchema for [T; 64]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 65]where
T: BorshSchema,
impl<T> BorshSchema for [T; 65]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 7]where
T: BorshSchema,
impl<T> BorshSchema for [T; 7]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 8]where
T: BorshSchema,
impl<T> BorshSchema for [T; 8]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T> BorshSchema for [T; 9]where
T: BorshSchema,
impl<T> BorshSchema for [T; 9]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T, const N: usize> BorshSchema for [T; N]where
T: BorshSchema,
impl<T, const N: usize> BorshSchema for [T; N]where T: BorshSchema,
§fn add_definitions_recursively(
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definitions_recursively( definitions: &mut HashMap<String, Definition, RandomState> )
§fn declaration() -> String
fn declaration() -> String
§fn add_definition(
declaration: String,
definition: Definition,
definitions: &mut HashMap<String, Definition, RandomState>
)
fn add_definition( declaration: String, definition: Definition, definitions: &mut HashMap<String, Definition, RandomState> )
fn schema_container() -> BorshSchemaContainer
§impl<T, const N: usize> CanonicalDeserialize for [T; N]where
T: CanonicalDeserialize,
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,
fn deserialize_with_mode<R>( reader: R, compress: Compress, validate: Validate ) -> Result<[T; N], SerializationError>where R: Read,
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,
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,
fn serialize_with_mode<W>( &self, writer: W, compress: Compress ) -> Result<(), SerializationError>where W: Write,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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> )
source§impl<'de, T> Deserialize<'de> for [T; 0]
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 0], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 1]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 1], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 10]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 10], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 11]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 11], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 12]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 12], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 13]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 13], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 14]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 14], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 15]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 15], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 16]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 16], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 17]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 17], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 18]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 18], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 19]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 19], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 2]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 2], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 20]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 20], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 21]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 21], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 22]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 22], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 23]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 23], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 24]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 24], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 25]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 25], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 26]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 26], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 27]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 27], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 28]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 28], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 29]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 29], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 3]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 3], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 30]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 30], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 31]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 31], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 32]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 32], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 4]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 4], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 5]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 5], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 6]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 6], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 7]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 7], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 8]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 8], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T> Deserialize<'de> for [T; 9]where
T: Deserialize<'de>,
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>,
fn deserialize<D>( deserializer: D ) -> Result<[T; 9], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
source§impl<'de, T, As, const N: usize> DeserializeAs<'de, [T; N]> for [As; N]where
As: DeserializeAs<'de, T>,
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>,
fn deserialize_as<D>( deserializer: D ) -> Result<[T; N], <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
1.71.0 · source§impl<T> From<(T, T, T, T)> for [T; 4]
impl<T> From<(T, T, T, T)> for [T; 4]
source§fn from(tuple: (T, T, T, T)) -> [T; 4]
fn from(tuple: (T, T, T, T)) -> [T; 4]
1.71.0 · source§impl<T> From<(T, T, T, T, T)> for [T; 5]
impl<T> From<(T, T, T, T, T)> for [T; 5]
source§fn from(tuple: (T, T, T, T, T)) -> [T; 5]
fn from(tuple: (T, T, T, T, T)) -> [T; 5]
1.71.0 · source§impl<T> From<(T, T, T, T, T, T)> for [T; 6]
impl<T> From<(T, T, T, T, T, T)> for [T; 6]
source§fn from(tuple: (T, T, T, T, T, T)) -> [T; 6]
fn from(tuple: (T, T, T, T, T, T)) -> [T; 6]
1.71.0 · source§impl<T> From<(T, T, T, T, T, T, T)> for [T; 7]
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]
fn from(tuple: (T, T, T, T, T, T, T)) -> [T; 7]
1.71.0 · source§impl<T> From<(T, T, T, T, T, T, T, T)> for [T; 8]
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]
fn from(tuple: (T, T, T, T, T, T, T, T)) -> [T; 8]
1.71.0 · source§impl<T> From<(T, T, T, T, T, T, T, T, T)> for [T; 9]
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]
fn from(tuple: (T, T, T, T, T, T, T, T, T)) -> [T; 9]
1.71.0 · source§impl<T> From<(T, T, T, T, T, T, T, T, T, T)> for [T; 10]
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]
fn from(tuple: (T, T, T, T, T, T, T, T, T, T)) -> [T; 10]
1.71.0 · source§impl<T> From<(T, T, T, T, T, T, T, T, T, T, T)> for [T; 11]
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]
fn from(tuple: (T, T, T, T, T, T, T, T, T, T, T)) -> [T; 11]
1.71.0 · source§impl<T> From<(T, T, T, T, T, T, T, T, T, T, T, T)> for [T; 12]
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]
fn from(tuple: (T, T, T, T, T, T, T, T, T, T, T, T)) -> [T; 12]
§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]
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]
§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]
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]
§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]
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]
§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]
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]
§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]
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]
§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]
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]
§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]
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]
§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]
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]
§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]
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]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for [T; 64]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for [T; 64]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>, B0>>> for [T; 70]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>, B0>>> for [T; 70]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>, B0>>> for [T; 80]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>, B0>>> for [T; 80]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>, B0>>> for [T; 90]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>, B0>>> for [T; 90]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>>> for [T; 100]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>, B0>>> for [T; 100]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for [T; 32]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for [T; 32]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B1>>> for [T; 33]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B1>>> for [T; 33]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B0>>> for [T; 34]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B0>>> for [T; 34]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>>> for [T; 35]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B1>, B1>>> for [T; 35]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B0>>> for [T; 36]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B0>>> for [T; 36]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>>> for [T; 37]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B0>, B1>>> for [T; 37]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B0>>> for [T; 38]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B0>>> for [T; 38]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B1>>> for [T; 39]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B1>, B1>, B1>>> for [T; 39]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>>> for [T; 40]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B0>>> for [T; 40]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B1>>> for [T; 41]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B0>, B1>>> for [T; 41]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>>> for [T; 42]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B0>>> for [T; 42]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B1>>> for [T; 43]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B0>, B1>, B1>>> for [T; 43]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B0>>> for [T; 44]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B0>>> for [T; 44]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>>> for [T; 45]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B0>, B1>>> for [T; 45]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B0>>> for [T; 46]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B0>>> for [T; 46]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B1>>> for [T; 47]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B1>, B1>, B1>, B1>>> for [T; 47]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>> for [T; 48]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>> for [T; 48]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B1>>> for [T; 49]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B1>>> for [T; 49]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>>> for [T; 50]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B0>>> for [T; 50]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B1>>> for [T; 51]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B1>, B1>>> for [T; 51]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B0>>> for [T; 52]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B0>>> for [T; 52]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B1>>> for [T; 53]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B0>, B1>>> for [T; 53]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B0>>> for [T; 54]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B0>>> for [T; 54]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B1>>> for [T; 55]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B1>, B1>, B1>>> for [T; 55]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>>> for [T; 56]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B0>>> for [T; 56]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B1>>> for [T; 57]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>, B1>>> for [T; 57]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B0>>> for [T; 58]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B0>>> for [T; 58]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B1>>> for [T; 59]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B1>, B1>>> for [T; 59]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B0>>> for [T; 60]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B0>>> for [T; 60]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B1>>> for [T; 61]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B0>, B1>>> for [T; 61]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>>> for [T; 62]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B0>>> for [T; 62]
§impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B1>>> for [T; 63]
impl<T> From<GenericArray<T, UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B1>, B1>, B1>>> for [T; 63]
source§impl<T, const N: usize> From<Simd<T, N>> for [T; N]where
LaneCount<N>: SupportedLaneCount,
T: SimdElement,
impl<T, const N: usize> From<Simd<T, N>> for [T; N]where LaneCount<N>: SupportedLaneCount, T: SimdElement,
1.0.0 · source§impl<T, const N: usize> Hash for [T; N]where
T: Hash,
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));
1.53.0 · source§impl<T, const N: usize> IntoIterator for [T; N]
impl<T, const N: usize> IntoIterator for [T; N]
source§fn into_iter(self) -> <[T; N] as IntoIterator>::IntoIter
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.
1.0.0 · source§impl<T, const N: usize> Ord for [T; N]where
T: Ord,
impl<T, const N: usize> Ord for [T; N]where T: Ord,
Implements comparison of arrays lexicographically.
1.0.0 · source§impl<A, B, const N: usize> PartialEq<&mut [B]> for [A; N]where
A: PartialEq<B>,
impl<A, B, const N: usize> PartialEq<&mut [B]> for [A; N]where A: PartialEq<B>,
1.0.0 · source§impl<T, const N: usize> PartialOrd<[T; N]> for [T; N]where
T: PartialOrd<T>,
impl<T, const N: usize> PartialOrd<[T; N]> for [T; N]where T: PartialOrd<T>,
source§fn le(&self, other: &[T; N]) -> bool
fn le(&self, other: &[T; N]) -> bool
self
and other
) and is used by the <=
operator. Read more§impl<const N: usize, T> Sequence for [T; N]where
T: Sequence + Clone,
impl<const N: usize, T> Sequence for [T; N]where T: Sequence + Clone,
source§impl<T> Serialize for [T; 0]
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 1]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 10]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 11]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 12]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 13]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 14]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 15]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 16]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 17]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 18]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 19]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 2]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 20]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 21]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 22]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 23]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 24]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 25]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 26]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 27]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 28]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 29]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 3]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 30]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 31]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 32]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 4]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 5]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 6]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 7]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 8]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T> Serialize for [T; 9]where
T: Serialize,
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,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
source§impl<T, As, const N: usize> SerializeAs<[T; N]> for [As; N]where
As: SerializeAs<T>,
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,
fn serialize_as<S>( array: &[T; N], serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
1.51.0 · source§impl<T, const N: usize> SlicePattern for [T; N]
impl<T, const N: usize> SlicePattern for [T; N]
1.34.0 · source§impl<T, const N: usize> TryFrom<&[T]> for [T; N]where
T: Copy,
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
type Error = TryFromSliceError
1.59.0 · source§impl<T, const N: usize> TryFrom<&mut [T]> for [T; N]where
T: Copy,
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
type Error = TryFromSliceError
1.48.0 · source§impl<T, A, const N: usize> TryFrom<Vec<T, A>> for [T; N]where
A: Allocator,
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>>
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');