pub struct FixedVecDeque<T>where
    T: Array,{ /* private fields */ }
Expand description

A double-ended queue implemented with a fixed buffer.

Implementations§

source§

impl<T> FixedVecDeque<T>where T: Array, T::Item: Default,

source

pub fn new() -> Self

Construct a new fixed ring buffer, pre-allocating all elements through Default.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut deq = FixedVecDeque::<[u32; 16]>::new();
assert_eq!(deq, []);
*deq.push_back() = 1;
assert_eq!(deq, [1]);
source§

impl<T> FixedVecDeque<T>where T: Array,

source

pub fn is_empty(&self) -> bool

Returns true if the FixedVecDeque is empty.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut v = FixedVecDeque::<[u32; 1]>::new();
assert!(v.is_empty());
*v.push_front() = 1;
assert!(!v.is_empty());
source

pub fn is_full(&self) -> bool

Returns true if the FixedVecDeque is full.

Writing to a queue that is full will overwrite existing elements.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut v = FixedVecDeque::<[u32; 1]>::new();
assert!(!v.is_full());
*v.push_front() = 1;
assert!(v.is_full());
source

pub fn len(&self) -> usize

Returns the number of elements in the FixedVecDeque.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut v = FixedVecDeque::<[u32; 2]>::new();
assert_eq!(v.len(), 0);
*v.push_back() = 1;
assert_eq!(v.len(), 1);
*v.push_back() = 1;
assert_eq!(v.len(), 2);
source

pub fn capacity(&self) -> usize

Returns the number of elements the FixedVecDeque can hold.

Examples
use fixed_vec_deque::FixedVecDeque;

let buf = FixedVecDeque::<[u32; 16]>::new();
assert_eq!(buf.capacity(), 16);
source

pub fn truncate(&mut self, len: usize)

Shortens the FixedVecDeque, causing excess elements to be unused.

If len is greater than the FixedVecDeque’s current length, this has no effect.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[u32; 4]>::new();
*buf.push_back() = 5;
*buf.push_back() = 10;
*buf.push_back() = 15;
assert_eq!(buf, [5, 10, 15]);
buf.truncate(1);
assert_eq!(buf, [5]);
source

pub fn front(&self) -> Option<&T::Item>

Provides a reference to the front element, or None if the FixedVecDeque is empty.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut d = FixedVecDeque::<[u32; 2]>::new();
assert_eq!(d.front(), None);

*d.push_back() = 1;
*d.push_back() = 2;
assert_eq!(d.front(), Some(&1));
source

pub fn front_mut(&mut self) -> Option<&mut T::Item>

Provides a mutable reference to the front element, or None if the FixedVecDeque is empty.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut d = FixedVecDeque::<[u32; 2]>::new();

assert_eq!(d.front_mut(), None);

*d.push_back() = 1;
*d.push_back() = 2;

match d.front_mut() {
    Some(x) => *x = 9,
    None => (),
}

assert_eq!(d.front(), Some(&9));
assert_eq!(d.back(), Some(&2));
source

pub fn back(&self) -> Option<&T::Item>

Provides a reference to the back element, or None if the FixedVecDeque is empty.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut d = FixedVecDeque::<[u32; 2]>::new();

assert_eq!(d.back(), None);

*d.push_back() = 1;
*d.push_back() = 2;
assert_eq!(d.back(), Some(&2));
source

pub fn back_mut(&mut self) -> Option<&mut T::Item>

Provides a mutable reference to the back element, or None if the FixedVecDeque is empty.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut d = FixedVecDeque::<[u32; 2]>::new();

assert_eq!(d.back(), None);

*d.push_back() = 1;
*d.push_back() = 2;

match d.back_mut() {
    Some(x) => *x = 9,
    None => (),
}
assert_eq!(d.back(), Some(&9));
source

pub fn push_front(&mut self) -> &mut T::Item

Prepends an element to the FixedVecDeque.

Panics

Calling this function will panic if the circular buffer is zero-sized.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut d = FixedVecDeque::<[u32; 3]>::new();

assert_eq!(d.front(), None);
assert_eq!(d.back(), None);

*d.push_front() = 1;
assert_eq!(d.front(), Some(&1));
assert_eq!(d.back(), Some(&1));

*d.push_front() = 2;
assert_eq!(d.front(), Some(&2));
assert_eq!(d.back(), Some(&1));

*d.push_front() = 3;
assert_eq!(d.front(), Some(&3));
assert_eq!(d.back(), Some(&1));

*d.push_front() = 4;
assert_eq!(d.front(), Some(&4));
assert_eq!(d.back(), Some(&2));
source

pub fn pop_front(&mut self) -> Option<&mut T::Item>

Removes the first element and returns it, or None if the FixedVecDeque is empty.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut d = FixedVecDeque::<[u32; 2]>::new();
*d.push_back() = 1;
*d.push_back() = 2;

assert_eq!(d.pop_front(), Some(&mut 1));
assert_eq!(d.pop_front(), Some(&mut 2));
assert_eq!(d.pop_front(), None);
source

pub fn push_back(&mut self) -> &mut T::Item

Appends an element to the back of the FixedVecDeque by returning a mutable reference that can be modified to it.

Note: this might potentially remove elements from the head, unless they have been read.

Panics

Calling this function will panic if the circular buffer is zero-sized.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[u32; 2]>::new();
assert_eq!(buf.back(), None);
assert_eq!(buf.front(), None);

*buf.push_back() = 1;

assert_eq!(buf.front(), Some(&1));
assert_eq!(buf.back(), Some(&1));

*buf.push_back() = 2;

assert_eq!(buf.front(), Some(&1));
assert_eq!(buf.back(), Some(&2));

*buf.push_back() = 3;

assert_eq!(buf.front(), Some(&2));
assert_eq!(buf.back(), Some(&3));
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[u32; 1]>::new();
assert_eq!(buf.back(), None);
assert_eq!(buf.front(), None);

*buf.push_back() = 1;

assert_eq!(buf.front(), Some(&1));
assert_eq!(buf.back(), Some(&1));

*buf.push_back() = 2;

assert_eq!(buf.front(), Some(&2));
assert_eq!(buf.back(), Some(&2));

buf.pop_back();

assert!(buf.is_empty());
assert_eq!(buf.back(), None);
assert_eq!(buf.front(), None);
source

pub fn pop_back(&mut self) -> Option<&mut T::Item>

Removes the last element from the FixedVecDeque and returns a reference to it, or None if it is empty.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[u32; 2]>::new();
assert_eq!(buf.pop_back(), None);
*buf.push_back() = 1;
*buf.push_back() = 3;
assert_eq!(buf.pop_back(), Some(&mut 3));
source

pub fn swap_remove_back(&mut self, index: usize) -> Option<&mut T::Item>

Removes an element from anywhere in the FixedVecDeque and returns a mutable reference to it, replacing it with the last element.

This does not preserve ordering, but is O(1).

Returns None if index is out of bounds.

Element at index 0 is the front of the queue.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[u32; 4]>::new();
assert_eq!(buf.swap_remove_back(0), None);
*buf.push_back() = 1;
*buf.push_back() = 2;
*buf.push_back() = 3;
assert_eq!(buf, [1, 2, 3]);

assert_eq!(buf.swap_remove_back(0), Some(&mut 1));
assert_eq!(buf, [3, 2]);
source

pub fn swap_remove_front(&mut self, index: usize) -> Option<&mut T::Item>

Removes an element from anywhere in the FixedVecDeque and returns a reference to it, replacing it with the first element.

This does not preserve ordering, but is O(1).

Returns None if index is out of bounds.

Element at index 0 is the front of the queue.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[u32; 4]>::new();
assert_eq!(buf.swap_remove_front(0), None);
*buf.push_back() = 1;
*buf.push_back() = 2;
*buf.push_back() = 3;
assert_eq!(buf, [1, 2, 3]);

assert_eq!(buf.swap_remove_front(2), Some(&mut 3));
assert_eq!(buf, [2, 1]);
source

pub fn remove(&mut self, index: usize) -> Option<&mut T::Item>where T::Item: Debug,

Removes and returns the element at index from the VecDeque. Whichever end is closer to the removal point will be moved to make room, and all the affected elements will be moved to new positions. Returns None if index is out of bounds.

Element at index 0 is the front of the queue.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[u32; 4]>::new();
*buf.push_back() = 1;
*buf.push_back() = 2;
*buf.push_back() = 3;
assert_eq!(buf, [1, 2, 3]);

assert_eq!(buf.remove(1), Some(&mut 2));
assert_eq!(buf, [1, 3]);
source

pub fn retain<F>(&mut self, f: F)where F: FnMut(&T::Item) -> bool,

Retains only the elements specified by the predicate.

In other words, remove all elements e such that f(&e) returns false. This method operates in place and preserves the order of the retained elements.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[usize; 8]>::new();
buf.extend(1..5);
buf.retain(|&x| x % 2 == 0);
assert_eq!(buf, [2, 4]);
source

pub fn iter(&self) -> Iter<'_, T>

Returns a front-to-back iterator.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[u32; 4]>::new();
*buf.push_back() = 5;
*buf.push_back() = 3;
*buf.push_back() = 4;

let b: &[_] = &[&5, &3, &4];
let c: Vec<&u32> = buf.iter().collect();
assert_eq!(&c[..], b);
source

pub fn iter_mut(&mut self) -> IterMut<'_, T>

Returns a front-to-back iterator that returns mutable references.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[u32; 4]>::new();
*buf.push_back() = 5;
*buf.push_back() = 3;
*buf.push_back() = 4;
for num in buf.iter_mut() {
    *num = *num - 2;
}
let b: &[_] = &[&mut 3, &mut 1, &mut 2];
assert_eq!(&buf.iter_mut().collect::<Vec<&mut u32>>()[..], b);
source

pub fn clear(&mut self)

Clears the FixedVecDeque.

The stored values will not be deleted.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut v = FixedVecDeque::<[u32; 1]>::new();
*v.push_back() = 1;
v.clear();
assert!(v.is_empty());
source

pub fn contains(&self, x: &T::Item) -> boolwhere T::Item: PartialEq<T::Item>,

Returns true if the FixedVecDeque contains an element equal to the given value.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut vector = FixedVecDeque::<[u32; 4]>::new();

*vector.push_back() = 0;
*vector.push_back() = 1;

assert_eq!(vector.contains(&1), true);
assert_eq!(vector.contains(&10), false);
source

pub fn as_mut_slices(&mut self) -> (&mut [T::Item], &mut [T::Item])

Returns a pair of slices which contain, in order, the contents of the FixedVecDeque.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut vector = FixedVecDeque::<[u32; 6]>::new();

*vector.push_back() = 0;
*vector.push_back() = 1;

*vector.push_front() = 10;
*vector.push_front() = 9;

vector.as_mut_slices().0[0] = 42;
vector.as_mut_slices().1[0] = 24;

assert_eq!(vector.as_slices(), (&[42, 10][..], &[24, 1][..]));
source

pub fn as_slices(&self) -> (&[T::Item], &[T::Item])

Returns a pair of slices which contain, in order, the contents of the FixedVecDeque.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut vector = FixedVecDeque::<[u32; 5]>::new();

*vector.push_back() = 1;
*vector.push_back() = 2;
*vector.push_back() = 3;

assert_eq!(vector.as_slices(), (&[1, 2, 3][..], &[][..]));

*vector.push_front() = 4;
*vector.push_front() = 5;

assert_eq!(vector.as_slices(), (&[5, 4][..], &[1, 2, 3][..]));
source

pub fn get(&self, index: usize) -> Option<&T::Item>

Retrieves an element in the FixedVecDeque by index.

Element at index 0 is the front of the queue.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[u32; 5]>::new();
*buf.push_back() = 3;
*buf.push_back() = 4;
*buf.push_back() = 5;
assert_eq!(buf.get(1), Some(&4));
source

pub fn get_mut(&mut self, index: usize) -> Option<&mut T::Item>

Retrieves an element in the FixedVecDeque mutably by index.

Element at index 0 is the front of the queue.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[u32; 5]>::new();
*buf.push_back() = 3;
*buf.push_back() = 4;
*buf.push_back() = 5;
if let Some(elem) = buf.get_mut(1) {
    *elem = 7;
}

assert_eq!(buf[1], 7);
source

pub fn swap(&mut self, i: usize, j: usize)

Swaps elements at indices i and j.

i and j may be equal.

Element at index 0 is the front of the queue.

Panics

Panics if either index is out of bounds.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[u32; 4]>::new();
*buf.push_back() = 3;
*buf.push_back() = 4;
*buf.push_back() = 5;
assert_eq!(buf, [3, 4, 5]);
buf.swap(0, 2);
assert_eq!(buf, [5, 4, 3]);
source§

impl<T> FixedVecDeque<T>where T: Array, T::Item: Clone,

source

pub fn resize(&mut self, new_len: usize, value: T::Item)

Modifies the FixedVecDeque in-place so that len() is equal to new_len, either by removing excess elements from the back or by appending clones of value to the back.

Panics

Panics if new_len is longer than the capacity of this buffer.

Examples
use fixed_vec_deque::FixedVecDeque;

let mut buf = FixedVecDeque::<[u32; 8]>::new();
*buf.push_back() = 5;
*buf.push_back() = 10;
*buf.push_back() = 15;
assert_eq!(buf, [5, 10, 15]);

buf.resize(2, 0);
assert_eq!(buf, [5, 10]);

buf.resize(5, 20);
assert_eq!(buf, [5, 10, 20, 20, 20]);

Trait Implementations§

source§

impl<T> Clone for FixedVecDeque<T>where T: Array, T::Item: Clone,

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T> Debug for FixedVecDeque<T>where T: Array, T::Item: Debug,

source§

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

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

impl<T> Default for FixedVecDeque<T>where T: Array, T::Item: Default,

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<A> Extend<<A as Array>::Item> for FixedVecDeque<A>where A: Array,

source§

fn extend<T: IntoIterator<Item = A::Item>>(&mut self, iter: T)

Extends a collection with the contents of an iterator. Read more
source§

fn extend_one(&mut self, item: A)

🔬This is a nightly-only experimental API. (extend_one)
Extends a collection with exactly one element.
source§

fn extend_reserve(&mut self, additional: usize)

🔬This is a nightly-only experimental API. (extend_one)
Reserves capacity in a collection for the given number of additional elements. Read more
source§

impl<A> FromIterator<<A as Array>::Item> for FixedVecDeque<A>where A: Array, A::Item: Default,

source§

fn from_iter<T: IntoIterator<Item = A::Item>>(iter: T) -> FixedVecDeque<A>

Creates a value from an iterator. Read more
source§

impl<A> Hash for FixedVecDeque<A>where A: Array, A::Item: Hash,

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<T> Index<usize> for FixedVecDeque<T>where T: Array,

§

type Output = <T as Array>::Item

The returned type after indexing.
source§

fn index(&self, index: usize) -> &T::Item

Performs the indexing (container[index]) operation. Read more
source§

impl<T> IndexMut<usize> for FixedVecDeque<T>where T: Array,

source§

fn index_mut(&mut self, index: usize) -> &mut T::Item

Performs the mutable indexing (container[index]) operation. Read more
source§

impl<'a, T> IntoIterator for &'a FixedVecDeque<T>where T: Array + 'a,

§

type Item = &'a <T as Array>::Item

The type of the elements being iterated over.
§

type IntoIter = Iter<'a, T>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
source§

impl<A> Ord for FixedVecDeque<A>where A: Array, A::Item: Ord,

source§

fn cmp(&self, other: &FixedVecDeque<A>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl<'a, 'b, A, B> PartialEq<&'b [B]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 0]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 0]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 1]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 1]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 10]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 10]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 11]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 11]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 12]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 12]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 13]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 13]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 14]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 14]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 15]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 15]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 16]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 16]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 17]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 17]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 18]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 18]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 19]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 19]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 2]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 2]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 20]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 20]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 21]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 21]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 22]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 22]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 23]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 23]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 24]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 24]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 25]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 25]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 26]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 26]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 27]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 27]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 28]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 28]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 29]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 29]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 3]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 3]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 30]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 30]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 31]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 31]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 32]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 32]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 4]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 4]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 5]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 5]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 6]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 6]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 7]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 7]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 8]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 8]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b [B; 9]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b [B; 9]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 0]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 0]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 1]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 1]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 10]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 10]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 11]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 11]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 12]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 12]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 13]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 13]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 14]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 14]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 15]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 15]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 16]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 16]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 17]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 17]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 18]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 18]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 19]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 19]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 2]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 2]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 20]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 20]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 21]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 21]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 22]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 22]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 23]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 23]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 24]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 24]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 25]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 25]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 26]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 26]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 27]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 27]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 28]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 28]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 29]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 29]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 3]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 3]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 30]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 30]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 31]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 31]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 32]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 32]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 4]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 4]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 5]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 5]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 6]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 6]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 7]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 7]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 8]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 8]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<&'b mut [B; 9]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &&'b mut [B; 9]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 0]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 0]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 1]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 1]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 10]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 10]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 11]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 11]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 12]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 12]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 13]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 13]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 14]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 14]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 15]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 15]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 16]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 16]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 17]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 17]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 18]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 18]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 19]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 19]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 2]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 2]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 20]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 20]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 21]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 21]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 22]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 22]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 23]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 23]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 24]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 24]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 25]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 25]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 26]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 26]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 27]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 27]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 28]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 28]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 29]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 29]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 3]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 3]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 30]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 30]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 31]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 31]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 32]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 32]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 4]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 4]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 5]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 5]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 6]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 6]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 7]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 7]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 8]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 8]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<[B; 9]> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &[B; 9]) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<A, B> PartialEq<FixedVecDeque<B>> for FixedVecDeque<A>where A: Array, B: Array, A::Item: PartialEq<B::Item>,

source§

fn eq(&self, other: &FixedVecDeque<B>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<'a, 'b, A, B> PartialEq<Vec<B, Global>> for FixedVecDeque<A>where A: Array, A::Item: Sized + PartialEq<B>,

source§

fn eq(&self, other: &Vec<B>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<A> PartialOrd<FixedVecDeque<A>> for FixedVecDeque<A>where A: Array, A::Item: PartialOrd,

source§

fn partial_cmp(&self, other: &FixedVecDeque<A>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl<A> Eq for FixedVecDeque<A>where A: Array, A::Item: Eq,

Auto Trait Implementations§

§

impl<T> RefUnwindSafe for FixedVecDeque<T>where T: RefUnwindSafe,

§

impl<T> Send for FixedVecDeque<T>where T: Send,

§

impl<T> Sync for FixedVecDeque<T>where T: Sync,

§

impl<T> Unpin for FixedVecDeque<T>where T: Unpin,

§

impl<T> UnwindSafe for FixedVecDeque<T>where T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.