pub struct Identity {}Expand description
The bitvector as it is.
Trait Implementations§
Source§impl Transformation for Identity
impl Transformation for Identity
Source§fn bit(parent: &BitVector, index: usize) -> bool
fn bit(parent: &BitVector, index: usize) -> bool
Reads a bit from the transformed bitvector. Read more
Source§fn word(parent: &BitVector, index: usize) -> u64
fn word(parent: &BitVector, index: usize) -> u64
Reads a 64-bit word from the transformed bitvector. Read more
Source§unsafe fn word_unchecked(parent: &BitVector, index: usize) -> u64
unsafe fn word_unchecked(parent: &BitVector, index: usize) -> u64
Unsafe version of
Transformation::word without bounds checks. Read moreSource§fn count_ones(parent: &BitVector) -> usize
fn count_ones(parent: &BitVector) -> usize
Returns the length of the integer array or the number of ones in the bit array of the transformed bitvector.
impl Eq for Identity
impl StructuralPartialEq for Identity
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnwindSafe for Identity
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