[−][src]Struct zdex::FromU16
A built-in Zdex-compatible BitCollection
for u16
.
Trait Implementations
impl<T: Into<FromU16>> BitAnd<T> for FromU16
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: T) -> Self
[src]
impl<T: Into<FromU16>> BitAndAssign<T> for FromU16
[src]
fn bitand_assign(&mut self, rhs: T)
[src]
impl BitCollection for FromU16
[src]
const FULL: Self
[src]
const EMPTY: Self
[src]
fn len(&self) -> usize
[src]
fn is_empty(&self) -> bool
[src]
fn has_multiple(&self) -> bool
[src]
unsafe fn lsb_unchecked(&self) -> BitU8
[src]
unsafe fn msb_unchecked(&self) -> BitU8
[src]
fn remove_lsb(&mut self)
[src]
fn remove_msb(&mut self)
[src]
fn pop_lsb(&mut self) -> Option<Self::Item>
[src]
fn pop_msb(&mut self) -> Option<BitU8>
[src]
fn contains<T: Into<Self>>(&self, x: T) -> bool
[src]
fn quantity(&self) -> Quantity
[src]
fn as_iter(&mut self) -> &mut BitIter<Self>
[src]
fn into_bit(self) -> Option<Self::Item>
[src]
fn lsb(&self) -> Option<Self::Item>
[src]
fn msb(&self) -> Option<Self::Item>
[src]
fn removing<T>(self, other: T) -> Self where
T: Into<Self>,
[src]
T: Into<Self>,
fn inserting<T>(self, other: T) -> Self where
T: Into<Self>,
[src]
T: Into<Self>,
fn toggling<T>(self, other: T) -> Self where
T: Into<Self>,
[src]
T: Into<Self>,
fn intersecting<T>(self, other: T) -> Self where
T: Into<Self>,
[src]
T: Into<Self>,
fn setting<T>(self, other: T, condition: bool) -> Self where
T: Into<Self>,
[src]
T: Into<Self>,
fn remove<T>(&mut self, other: T) -> &mut Self where
T: Into<Self>,
[src]
T: Into<Self>,
fn insert<T>(&mut self, other: T) -> &mut Self where
T: Into<Self>,
[src]
T: Into<Self>,
fn toggle<T>(&mut self, other: T) -> &mut Self where
T: Into<Self>,
[src]
T: Into<Self>,
fn intersect<T>(&mut self, other: T) -> &mut Self where
T: Into<Self>,
[src]
T: Into<Self>,
fn set<T>(&mut self, other: T, condition: bool) -> &mut Self where
T: Into<Self>,
[src]
T: Into<Self>,
impl<T: Into<FromU16>> BitOr<T> for FromU16
[src]
type Output = Self
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> Self
[src]
impl<T: Into<FromU16>> BitOrAssign<T> for FromU16
[src]
fn bitor_assign(&mut self, rhs: T)
[src]
impl<T: Into<FromU16>> BitXor<T> for FromU16
[src]
type Output = Self
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: T) -> Self
[src]
impl<T: Into<FromU16>> BitXorAssign<T> for FromU16
[src]
fn bitxor_assign(&mut self, rhs: T)
[src]
impl Clone for FromU16
[src]
impl Copy for FromU16
[src]
impl Debug for FromU16
[src]
impl<T: Into<FromU16>> Extend<T> for FromU16
[src]
fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I)
[src]
impl<'a, T: Clone + Into<FromU16>> From<&'a T> for FromU16
[src]
impl<'a, T: Clone + Into<FromU16>> From<&'a mut T> for FromU16
[src]
impl From<BitIter<FromU16>> for FromU16
[src]
impl From<BitU8> for FromU16
[src]
impl From<u16> for FromU16
[src]
impl<T: Into<FromU16>> FromIterator<T> for FromU16
[src]
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self
[src]
impl IntoIterator for FromU16
[src]
type IntoIter = BitIter<Self>
Which kind of iterator are we turning this into?
type Item = BitU8
The type of the elements being iterated over.
fn into_iter(self) -> Self::IntoIter
[src]
impl Not for FromU16
[src]
impl<T: Into<FromU16>> Sub<T> for FromU16
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: T) -> Self
[src]
impl<T: Into<FromU16>> SubAssign<T> for FromU16
[src]
fn sub_assign(&mut self, rhs: T)
[src]
Auto Trait Implementations
impl RefUnwindSafe for FromU16
impl Send for FromU16
impl Sync for FromU16
impl Unpin for FromU16
impl UnwindSafe for FromU16
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Zdexed for T where
T: BitCollection<Item = BitU8> + Copy + Debug,
[src]
T: BitCollection<Item = BitU8> + Copy + Debug,