Skip to main content

MaskTrackedArrayBase

Struct MaskTrackedArrayBase 

Source
pub struct MaskTrackedArrayBase<T, M, const N: usize>
where Self: MaskTrackedArray<T, MaskType = M>,
{ /* private fields */ }
Expand description

An array with slots for values backed by a mask for tracking which slots are under use. Each slot has their own UnsafeCell.

Trait Implementations§

Source§

impl<T: Debug> Debug for MaskTrackedArrayBase<T, u128, 128>

Source§

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

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

impl<T: Debug> Debug for MaskTrackedArrayBase<T, u16, 16>

Source§

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

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

impl<T: Debug> Debug for MaskTrackedArrayBase<T, u32, 32>

Source§

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

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

impl<T: Debug> Debug for MaskTrackedArrayBase<T, u64, 64>

Source§

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

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

impl<T: Debug> Debug for MaskTrackedArrayBase<T, u8, 8>

Source§

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

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

impl<T> Default for MaskTrackedArrayBase<T, u128, 128>

Source§

fn default() -> Self

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

impl<T> Default for MaskTrackedArrayBase<T, u16, 16>

Source§

fn default() -> Self

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

impl<T> Default for MaskTrackedArrayBase<T, u32, 32>

Source§

fn default() -> Self

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

impl<T> Default for MaskTrackedArrayBase<T, u64, 64>

Source§

fn default() -> Self

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

impl<T> Default for MaskTrackedArrayBase<T, u8, 8>

Source§

fn default() -> Self

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

impl<T, M, const N: usize> Drop for MaskTrackedArrayBase<T, M, N>
where Self: MaskTrackedArray<T, MaskType = M>,

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl<T> FromIterator<(usize, T)> for MaskTrackedArrayBase<T, u128, 128>

Source§

fn from_iter<I>(iter: I) -> Self
where I: IntoIterator<Item = (usize, T)>,

Creates a value from an iterator. Read more
Source§

impl<T> FromIterator<(usize, T)> for MaskTrackedArrayBase<T, u16, 16>

Source§

fn from_iter<I>(iter: I) -> Self
where I: IntoIterator<Item = (usize, T)>,

Creates a value from an iterator. Read more
Source§

impl<T> FromIterator<(usize, T)> for MaskTrackedArrayBase<T, u32, 32>

Source§

fn from_iter<I>(iter: I) -> Self
where I: IntoIterator<Item = (usize, T)>,

Creates a value from an iterator. Read more
Source§

impl<T> FromIterator<(usize, T)> for MaskTrackedArrayBase<T, u64, 64>

Source§

fn from_iter<I>(iter: I) -> Self
where I: IntoIterator<Item = (usize, T)>,

Creates a value from an iterator. Read more
Source§

impl<T> FromIterator<(usize, T)> for MaskTrackedArrayBase<T, u8, 8>

Source§

fn from_iter<I>(iter: I) -> Self
where I: IntoIterator<Item = (usize, T)>,

Creates a value from an iterator. Read more
Source§

impl<T> FromIterator<T> for MaskTrackedArrayBase<T, u128, 128>

Source§

fn from_iter<I>(iter: I) -> Self
where I: IntoIterator<Item = T>,

Creates a value from an iterator. Read more
Source§

impl<T> FromIterator<T> for MaskTrackedArrayBase<T, u16, 16>

Source§

fn from_iter<I>(iter: I) -> Self
where I: IntoIterator<Item = T>,

Creates a value from an iterator. Read more
Source§

impl<T> FromIterator<T> for MaskTrackedArrayBase<T, u32, 32>

Source§

fn from_iter<I>(iter: I) -> Self
where I: IntoIterator<Item = T>,

Creates a value from an iterator. Read more
Source§

impl<T> FromIterator<T> for MaskTrackedArrayBase<T, u64, 64>

Source§

fn from_iter<I>(iter: I) -> Self
where I: IntoIterator<Item = T>,

Creates a value from an iterator. Read more
Source§

impl<T> FromIterator<T> for MaskTrackedArrayBase<T, u8, 8>

Source§

fn from_iter<I>(iter: I) -> Self
where I: IntoIterator<Item = T>,

Creates a value from an iterator. Read more
Source§

impl<T: Hash> Hash for MaskTrackedArrayBase<T, u128, 128>

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: Hash> Hash for MaskTrackedArrayBase<T, u16, 16>

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: Hash> Hash for MaskTrackedArrayBase<T, u32, 32>

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: Hash> Hash for MaskTrackedArrayBase<T, u64, 64>

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: Hash> Hash for MaskTrackedArrayBase<T, u8, 8>

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> IntoIterator for MaskTrackedArrayBase<T, u128, 128>

Source§

type Item = T

The type of the elements being iterated over.
Source§

type IntoIter = MaskTrackedArrayIter<T, u128, 128>

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<T> IntoIterator for MaskTrackedArrayBase<T, u16, 16>

Source§

type Item = T

The type of the elements being iterated over.
Source§

type IntoIter = MaskTrackedArrayIter<T, u16, 16>

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<T> IntoIterator for MaskTrackedArrayBase<T, u32, 32>

Source§

type Item = T

The type of the elements being iterated over.
Source§

type IntoIter = MaskTrackedArrayIter<T, u32, 32>

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<T> IntoIterator for MaskTrackedArrayBase<T, u64, 64>

Source§

type Item = T

The type of the elements being iterated over.
Source§

type IntoIter = MaskTrackedArrayIter<T, u64, 64>

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<T> IntoIterator for MaskTrackedArrayBase<T, u8, 8>

Source§

type Item = T

The type of the elements being iterated over.
Source§

type IntoIter = MaskTrackedArrayIter<T, u8, 8>

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<T> MaskTrackedArray<T> for MaskTrackedArrayBase<T, u128, 128>

Source§

type MaskType = u128

The number type used as the mask.
Source§

fn contains_item_at(&self, index: usize) -> bool

Check if there is an item at a slot. This function will also return false if the index is out of range.
Source§

fn mask(&self) -> Self::MaskType

Get the internal mask used.
Source§

fn len(&self) -> u32

Check how many slots are occupied.
Source§

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

Get an immutable reference to slot without bounds or validity checking. Read more
Source§

unsafe fn get_unchecked_mut(&self, index: usize) -> &mut T

Get a mutable reference to a slot without bounds, validity or borrow checking. Read more
Source§

fn clear(&mut self)

Clear out all items in this array, returning to its empty state. Drop is called if needed.
Source§

unsafe fn insert_unchecked(&self, index: usize, value: T)

Insert an item at a given index without bounds, validity or borrow checking. Read more
Source§

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

Remove a value from a slot without checking the index or if the item is there. Read more
Source§

fn iter_filled_indices(&self) -> impl Iterator<Item = usize>

Get an iterator over all filled slot indices.
Source§

fn iter_filled_indices_mask( &self, mask: Self::MaskType, ) -> impl Iterator<Item = usize>

Get an iterator over all filled slot indices also present in the given mask.
Source§

fn iter_empty_indices(&self) -> impl Iterator<Item = usize>

Get an iterator over all unfilled slot indices.
Source§

fn is_empty(&self) -> bool

Returns true if this array is completely empty.
Source§

fn new() -> Self

Construct a new empty instance of this array.
Source§

fn get_ref(&self, index: usize) -> Option<&T>

Get a reference to an item inside a slot if available.
Source§

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

Get a mutable reference to an item inside a slot if available.
Source§

fn insert(&self, index: usize, value: T) -> Option<T>

Try to insert an item at a given index. If insertion fails, return the value in an option. If the option is none then the insertion succeeded.
Source§

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

Remove a value at a specific index and return it if available.
Source§

fn iter<'a>(&'a self) -> impl Iterator<Item = &'a T>
where T: 'a,

Iterate over references to every filled slot.
Source§

fn iter_mut<'a>(&'a mut self) -> impl Iterator<Item = &'a mut T>
where T: 'a,

Iterate over mutable references to every filled slot.
Source§

fn iter_mask<'a>(&'a self, mask: Self::MaskType) -> impl Iterator<Item = &'a T>
where T: 'a,

Iterate over references which are only present in the given mask.
Source§

fn iter_mut_mask<'a>( &'a mut self, mask: Self::MaskType, ) -> impl Iterator<Item = &'a mut T>
where T: 'a,

Iterate over mutable references which are only present in the given mask.
Source§

fn push(&mut self, value: T) -> Result<usize, T>

Try to push a value into the lowest indexed position possible. Returns the value if failed.
Source§

impl<T> MaskTrackedArray<T> for MaskTrackedArrayBase<T, u16, 16>

Source§

type MaskType = u16

The number type used as the mask.
Source§

fn contains_item_at(&self, index: usize) -> bool

Check if there is an item at a slot. This function will also return false if the index is out of range.
Source§

fn mask(&self) -> Self::MaskType

Get the internal mask used.
Source§

fn len(&self) -> u32

Check how many slots are occupied.
Source§

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

Get an immutable reference to slot without bounds or validity checking. Read more
Source§

unsafe fn get_unchecked_mut(&self, index: usize) -> &mut T

Get a mutable reference to a slot without bounds, validity or borrow checking. Read more
Source§

fn clear(&mut self)

Clear out all items in this array, returning to its empty state. Drop is called if needed.
Source§

unsafe fn insert_unchecked(&self, index: usize, value: T)

Insert an item at a given index without bounds, validity or borrow checking. Read more
Source§

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

Remove a value from a slot without checking the index or if the item is there. Read more
Source§

fn iter_filled_indices(&self) -> impl Iterator<Item = usize>

Get an iterator over all filled slot indices.
Source§

fn iter_filled_indices_mask( &self, mask: Self::MaskType, ) -> impl Iterator<Item = usize>

Get an iterator over all filled slot indices also present in the given mask.
Source§

fn iter_empty_indices(&self) -> impl Iterator<Item = usize>

Get an iterator over all unfilled slot indices.
Source§

fn is_empty(&self) -> bool

Returns true if this array is completely empty.
Source§

fn new() -> Self

Construct a new empty instance of this array.
Source§

fn get_ref(&self, index: usize) -> Option<&T>

Get a reference to an item inside a slot if available.
Source§

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

Get a mutable reference to an item inside a slot if available.
Source§

fn insert(&self, index: usize, value: T) -> Option<T>

Try to insert an item at a given index. If insertion fails, return the value in an option. If the option is none then the insertion succeeded.
Source§

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

Remove a value at a specific index and return it if available.
Source§

fn iter<'a>(&'a self) -> impl Iterator<Item = &'a T>
where T: 'a,

Iterate over references to every filled slot.
Source§

fn iter_mut<'a>(&'a mut self) -> impl Iterator<Item = &'a mut T>
where T: 'a,

Iterate over mutable references to every filled slot.
Source§

fn iter_mask<'a>(&'a self, mask: Self::MaskType) -> impl Iterator<Item = &'a T>
where T: 'a,

Iterate over references which are only present in the given mask.
Source§

fn iter_mut_mask<'a>( &'a mut self, mask: Self::MaskType, ) -> impl Iterator<Item = &'a mut T>
where T: 'a,

Iterate over mutable references which are only present in the given mask.
Source§

fn push(&mut self, value: T) -> Result<usize, T>

Try to push a value into the lowest indexed position possible. Returns the value if failed.
Source§

impl<T> MaskTrackedArray<T> for MaskTrackedArrayBase<T, u32, 32>

Source§

type MaskType = u32

The number type used as the mask.
Source§

fn contains_item_at(&self, index: usize) -> bool

Check if there is an item at a slot. This function will also return false if the index is out of range.
Source§

fn mask(&self) -> Self::MaskType

Get the internal mask used.
Source§

fn len(&self) -> u32

Check how many slots are occupied.
Source§

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

Get an immutable reference to slot without bounds or validity checking. Read more
Source§

unsafe fn get_unchecked_mut(&self, index: usize) -> &mut T

Get a mutable reference to a slot without bounds, validity or borrow checking. Read more
Source§

fn clear(&mut self)

Clear out all items in this array, returning to its empty state. Drop is called if needed.
Source§

unsafe fn insert_unchecked(&self, index: usize, value: T)

Insert an item at a given index without bounds, validity or borrow checking. Read more
Source§

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

Remove a value from a slot without checking the index or if the item is there. Read more
Source§

fn iter_filled_indices(&self) -> impl Iterator<Item = usize>

Get an iterator over all filled slot indices.
Source§

fn iter_filled_indices_mask( &self, mask: Self::MaskType, ) -> impl Iterator<Item = usize>

Get an iterator over all filled slot indices also present in the given mask.
Source§

fn iter_empty_indices(&self) -> impl Iterator<Item = usize>

Get an iterator over all unfilled slot indices.
Source§

fn is_empty(&self) -> bool

Returns true if this array is completely empty.
Source§

fn new() -> Self

Construct a new empty instance of this array.
Source§

fn get_ref(&self, index: usize) -> Option<&T>

Get a reference to an item inside a slot if available.
Source§

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

Get a mutable reference to an item inside a slot if available.
Source§

fn insert(&self, index: usize, value: T) -> Option<T>

Try to insert an item at a given index. If insertion fails, return the value in an option. If the option is none then the insertion succeeded.
Source§

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

Remove a value at a specific index and return it if available.
Source§

fn iter<'a>(&'a self) -> impl Iterator<Item = &'a T>
where T: 'a,

Iterate over references to every filled slot.
Source§

fn iter_mut<'a>(&'a mut self) -> impl Iterator<Item = &'a mut T>
where T: 'a,

Iterate over mutable references to every filled slot.
Source§

fn iter_mask<'a>(&'a self, mask: Self::MaskType) -> impl Iterator<Item = &'a T>
where T: 'a,

Iterate over references which are only present in the given mask.
Source§

fn iter_mut_mask<'a>( &'a mut self, mask: Self::MaskType, ) -> impl Iterator<Item = &'a mut T>
where T: 'a,

Iterate over mutable references which are only present in the given mask.
Source§

fn push(&mut self, value: T) -> Result<usize, T>

Try to push a value into the lowest indexed position possible. Returns the value if failed.
Source§

impl<T> MaskTrackedArray<T> for MaskTrackedArrayBase<T, u64, 64>

Source§

type MaskType = u64

The number type used as the mask.
Source§

fn contains_item_at(&self, index: usize) -> bool

Check if there is an item at a slot. This function will also return false if the index is out of range.
Source§

fn mask(&self) -> Self::MaskType

Get the internal mask used.
Source§

fn len(&self) -> u32

Check how many slots are occupied.
Source§

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

Get an immutable reference to slot without bounds or validity checking. Read more
Source§

unsafe fn get_unchecked_mut(&self, index: usize) -> &mut T

Get a mutable reference to a slot without bounds, validity or borrow checking. Read more
Source§

fn clear(&mut self)

Clear out all items in this array, returning to its empty state. Drop is called if needed.
Source§

unsafe fn insert_unchecked(&self, index: usize, value: T)

Insert an item at a given index without bounds, validity or borrow checking. Read more
Source§

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

Remove a value from a slot without checking the index or if the item is there. Read more
Source§

fn iter_filled_indices(&self) -> impl Iterator<Item = usize>

Get an iterator over all filled slot indices.
Source§

fn iter_filled_indices_mask( &self, mask: Self::MaskType, ) -> impl Iterator<Item = usize>

Get an iterator over all filled slot indices also present in the given mask.
Source§

fn iter_empty_indices(&self) -> impl Iterator<Item = usize>

Get an iterator over all unfilled slot indices.
Source§

fn is_empty(&self) -> bool

Returns true if this array is completely empty.
Source§

fn new() -> Self

Construct a new empty instance of this array.
Source§

fn get_ref(&self, index: usize) -> Option<&T>

Get a reference to an item inside a slot if available.
Source§

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

Get a mutable reference to an item inside a slot if available.
Source§

fn insert(&self, index: usize, value: T) -> Option<T>

Try to insert an item at a given index. If insertion fails, return the value in an option. If the option is none then the insertion succeeded.
Source§

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

Remove a value at a specific index and return it if available.
Source§

fn iter<'a>(&'a self) -> impl Iterator<Item = &'a T>
where T: 'a,

Iterate over references to every filled slot.
Source§

fn iter_mut<'a>(&'a mut self) -> impl Iterator<Item = &'a mut T>
where T: 'a,

Iterate over mutable references to every filled slot.
Source§

fn iter_mask<'a>(&'a self, mask: Self::MaskType) -> impl Iterator<Item = &'a T>
where T: 'a,

Iterate over references which are only present in the given mask.
Source§

fn iter_mut_mask<'a>( &'a mut self, mask: Self::MaskType, ) -> impl Iterator<Item = &'a mut T>
where T: 'a,

Iterate over mutable references which are only present in the given mask.
Source§

fn push(&mut self, value: T) -> Result<usize, T>

Try to push a value into the lowest indexed position possible. Returns the value if failed.
Source§

impl<T> MaskTrackedArray<T> for MaskTrackedArrayBase<T, u8, 8>

Source§

type MaskType = u8

The number type used as the mask.
Source§

fn contains_item_at(&self, index: usize) -> bool

Check if there is an item at a slot. This function will also return false if the index is out of range.
Source§

fn mask(&self) -> Self::MaskType

Get the internal mask used.
Source§

fn len(&self) -> u32

Check how many slots are occupied.
Source§

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

Get an immutable reference to slot without bounds or validity checking. Read more
Source§

unsafe fn get_unchecked_mut(&self, index: usize) -> &mut T

Get a mutable reference to a slot without bounds, validity or borrow checking. Read more
Source§

fn clear(&mut self)

Clear out all items in this array, returning to its empty state. Drop is called if needed.
Source§

unsafe fn insert_unchecked(&self, index: usize, value: T)

Insert an item at a given index without bounds, validity or borrow checking. Read more
Source§

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

Remove a value from a slot without checking the index or if the item is there. Read more
Source§

fn iter_filled_indices(&self) -> impl Iterator<Item = usize>

Get an iterator over all filled slot indices.
Source§

fn iter_filled_indices_mask( &self, mask: Self::MaskType, ) -> impl Iterator<Item = usize>

Get an iterator over all filled slot indices also present in the given mask.
Source§

fn iter_empty_indices(&self) -> impl Iterator<Item = usize>

Get an iterator over all unfilled slot indices.
Source§

fn is_empty(&self) -> bool

Returns true if this array is completely empty.
Source§

fn new() -> Self

Construct a new empty instance of this array.
Source§

fn get_ref(&self, index: usize) -> Option<&T>

Get a reference to an item inside a slot if available.
Source§

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

Get a mutable reference to an item inside a slot if available.
Source§

fn insert(&self, index: usize, value: T) -> Option<T>

Try to insert an item at a given index. If insertion fails, return the value in an option. If the option is none then the insertion succeeded.
Source§

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

Remove a value at a specific index and return it if available.
Source§

fn iter<'a>(&'a self) -> impl Iterator<Item = &'a T>
where T: 'a,

Iterate over references to every filled slot.
Source§

fn iter_mut<'a>(&'a mut self) -> impl Iterator<Item = &'a mut T>
where T: 'a,

Iterate over mutable references to every filled slot.
Source§

fn iter_mask<'a>(&'a self, mask: Self::MaskType) -> impl Iterator<Item = &'a T>
where T: 'a,

Iterate over references which are only present in the given mask.
Source§

fn iter_mut_mask<'a>( &'a mut self, mask: Self::MaskType, ) -> impl Iterator<Item = &'a mut T>
where T: 'a,

Iterate over mutable references which are only present in the given mask.
Source§

fn push(&mut self, value: T) -> Result<usize, T>

Try to push a value into the lowest indexed position possible. Returns the value if failed.
Source§

impl<T: PartialEq> PartialEq for MaskTrackedArrayBase<T, u128, 128>

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T: PartialEq> PartialEq for MaskTrackedArrayBase<T, u16, 16>

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T: PartialEq> PartialEq for MaskTrackedArrayBase<T, u32, 32>

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T: PartialEq> PartialEq for MaskTrackedArrayBase<T, u64, 64>

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T: PartialEq> PartialEq for MaskTrackedArrayBase<T, u8, 8>

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<T: Eq> Eq for MaskTrackedArrayBase<T, u128, 128>

Source§

impl<T: Eq> Eq for MaskTrackedArrayBase<T, u16, 16>

Source§

impl<T: Eq> Eq for MaskTrackedArrayBase<T, u32, 32>

Source§

impl<T: Eq> Eq for MaskTrackedArrayBase<T, u64, 64>

Source§

impl<T: Eq> Eq for MaskTrackedArrayBase<T, u8, 8>

Auto Trait Implementations§

§

impl<T, M, const N: usize> !Freeze for MaskTrackedArrayBase<T, M, N>

§

impl<T, M, const N: usize> !RefUnwindSafe for MaskTrackedArrayBase<T, M, N>

§

impl<T, M, const N: usize> Send for MaskTrackedArrayBase<T, M, N>
where MaskTrackedArrayBase<T, M, N>: Sized, M: Send, T: Send,

§

impl<T, M, const N: usize> !Sync for MaskTrackedArrayBase<T, M, N>

§

impl<T, M, const N: usize> Unpin for MaskTrackedArrayBase<T, M, N>
where MaskTrackedArrayBase<T, M, N>: Sized, M: Unpin, T: Unpin,

§

impl<T, M, const N: usize> UnsafeUnpin for MaskTrackedArrayBase<T, M, N>

§

impl<T, M, const N: usize> UnwindSafe for MaskTrackedArrayBase<T, M, N>

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.