pub enum Bit {
Zero,
One,
}Expand description
A single bit.
Variants§
Trait Implementations§
Source§impl Extend<Bit> for Bv
impl Extend<Bit> for Bv
Source§fn extend<T: IntoIterator<Item = Bit>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Bit>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
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)
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 Extend<Bit> for Bvd
impl Extend<Bit> for Bvd
Source§fn extend<T: IntoIterator<Item = Bit>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Bit>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
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)
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<I: Integer, const N: usize> Extend<Bit> for Bvf<I, N>
impl<I: Integer, const N: usize> Extend<Bit> for Bvf<I, N>
Source§fn extend<T: IntoIterator<Item = Bit>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Bit>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
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)
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 FromIterator<Bit> for Bv
impl FromIterator<Bit> for Bv
Source§impl FromIterator<Bit> for Bvd
impl FromIterator<Bit> for Bvd
Source§impl Ord for Bit
impl Ord for Bit
Source§impl PartialOrd for Bit
impl PartialOrd for Bit
impl Copy for Bit
impl Eq for Bit
impl StructuralPartialEq for Bit
Auto Trait Implementations§
impl Freeze for Bit
impl RefUnwindSafe for Bit
impl Send for Bit
impl Sync for Bit
impl Unpin for Bit
impl UnwindSafe for Bit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more