Struct smallbitset::BitsBuilder
source · pub struct BitsBuilder<const BITS: u32>;
Expand description
This structure is really only meant to facilitate the writing of iterator methods on bitsets. This way, only the const param can be specified while leaving all the other types inferred by the compiler. (That’s kind of type curry-ing).
Implementations§
Trait Implementations§
source§impl<const BITS: u32> Clone for BitsBuilder<BITS>
impl<const BITS: u32> Clone for BitsBuilder<BITS>
source§fn clone(&self) -> BitsBuilder<BITS>
fn clone(&self) -> BitsBuilder<BITS>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<const BITS: u32> Debug for BitsBuilder<BITS>
impl<const BITS: u32> Debug for BitsBuilder<BITS>
impl<const BITS: u32> Copy for BitsBuilder<BITS>
Auto Trait Implementations§
impl<const BITS: u32> RefUnwindSafe for BitsBuilder<BITS>
impl<const BITS: u32> Send for BitsBuilder<BITS>
impl<const BITS: u32> Sync for BitsBuilder<BITS>
impl<const BITS: u32> Unpin for BitsBuilder<BITS>
impl<const BITS: u32> UnwindSafe for BitsBuilder<BITS>
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