Struct bv::adapter::BitConcat [−][src]
The result of
BitsExt::bit_concat
.
The resulting bit vector adapter concatenates the bits of the two underlying bit-vector-likes.
Trait Implementations
impl<T: Bits, U: Bits<Block = T::Block>> BitSliceable<Range<u64>> for BitConcat<T, U>
[src]
type Slice = BitSliceAdapter<Self>
The type of the slice produced.
fn bit_slice(self, range: Range<u64>) -> Self::Slice
[src]
impl<'a, T: Bits, U: Bits<Block = T::Block>> BitSliceable<Range<u64>> for &'a BitConcat<T, U>
[src]
type Slice = BitSliceAdapter<Self>
The type of the slice produced.
fn bit_slice(self, range: Range<u64>) -> Self::Slice
[src]
impl<T: Bits, U: Bits<Block = T::Block>> BitSliceable<RangeFrom<u64>> for BitConcat<T, U>
[src]
type Slice = BitSliceAdapter<Self>
The type of the slice produced.
fn bit_slice(self, range: RangeFrom<u64>) -> Self::Slice
[src]
impl<'a, T: Bits, U: Bits<Block = T::Block>> BitSliceable<RangeFrom<u64>> for &'a BitConcat<T, U>
[src]
type Slice = BitSliceAdapter<Self>
The type of the slice produced.
fn bit_slice(self, range: RangeFrom<u64>) -> Self::Slice
[src]
impl<T: Bits, U: Bits<Block = T::Block>> BitSliceable<RangeFull> for BitConcat<T, U>
[src]
type Slice = BitSliceAdapter<Self>
The type of the slice produced.
fn bit_slice(self, _range: RangeFull) -> Self::Slice
[src]
impl<'a, T: Bits, U: Bits<Block = T::Block>> BitSliceable<RangeFull> for &'a BitConcat<T, U>
[src]
type Slice = BitSliceAdapter<Self>
The type of the slice produced.
fn bit_slice(self, _range: RangeFull) -> Self::Slice
[src]
impl<T: Bits, U: Bits<Block = T::Block>> BitSliceable<RangeInclusive<u64>> for BitConcat<T, U>
[src]
type Slice = BitSliceAdapter<Self>
The type of the slice produced.
fn bit_slice(self, range: RangeInclusive<u64>) -> Self::Slice
[src]
impl<'a, T: Bits, U: Bits<Block = T::Block>> BitSliceable<RangeInclusive<u64>> for &'a BitConcat<T, U>
[src]
type Slice = BitSliceAdapter<Self>
The type of the slice produced.
fn bit_slice(self, range: RangeInclusive<u64>) -> Self::Slice
[src]
impl<T: Bits, U: Bits<Block = T::Block>> BitSliceable<RangeTo<u64>> for BitConcat<T, U>
[src]
type Slice = BitSliceAdapter<Self>
The type of the slice produced.
fn bit_slice(self, range: RangeTo<u64>) -> Self::Slice
[src]
impl<'a, T: Bits, U: Bits<Block = T::Block>> BitSliceable<RangeTo<u64>> for &'a BitConcat<T, U>
[src]
type Slice = BitSliceAdapter<Self>
The type of the slice produced.
fn bit_slice(self, range: RangeTo<u64>) -> Self::Slice
[src]
impl<T: Bits, U: Bits<Block = T::Block>> BitSliceable<RangeToInclusive<u64>> for BitConcat<T, U>
[src]
type Slice = BitSliceAdapter<Self>
The type of the slice produced.
fn bit_slice(self, range: RangeToInclusive<u64>) -> Self::Slice
[src]
impl<'a, T: Bits, U: Bits<Block = T::Block>> BitSliceable<RangeToInclusive<u64>> for &'a BitConcat<T, U>
[src]
type Slice = BitSliceAdapter<Self>
The type of the slice produced.
fn bit_slice(self, range: RangeToInclusive<u64>) -> Self::Slice
[src]
impl<T, U> Bits for BitConcat<T, U> where
T: Bits,
U: Bits<Block = T::Block>,
[src]
T: Bits,
U: Bits<Block = T::Block>,
type Block = T::Block
The underlying block type used to store the bits of the vector.
fn bit_len(&self) -> u64
[src]
fn get_bit(&self, position: u64) -> bool
[src]
fn get_block(&self, position: usize) -> Self::Block
[src]
fn block_len(&self) -> usize
[src]
fn get_raw_block(&self, position: usize) -> Self::Block
[src]
fn get_bits(&self, start: u64, count: usize) -> Self::Block
[src]
fn to_bit_vec(&self) -> BitVec<Self::Block>
[src]
impl<T: Clone, U: Clone> Clone for BitConcat<T, U>
[src]
impl<T: Debug, U: Debug> Debug for BitConcat<T, U>
[src]
impl<T: Bits, U: Bits<Block = T::Block>> Index<u64> for BitConcat<T, U>
[src]
impl<T, U, V> PartialEq<V> for BitConcat<T, U> where
T: Bits,
U: Bits<Block = T::Block>,
V: Bits<Block = T::Block>,
[src]
T: Bits,
U: Bits<Block = T::Block>,
V: Bits<Block = T::Block>,
Auto Trait Implementations
impl<T, U> RefUnwindSafe for BitConcat<T, U> where
T: RefUnwindSafe,
U: RefUnwindSafe,
T: RefUnwindSafe,
U: RefUnwindSafe,
impl<T, U> Send for BitConcat<T, U> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<T, U> Sync for BitConcat<T, U> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
impl<T, U> Unpin for BitConcat<T, U> where
T: Unpin,
U: Unpin,
T: Unpin,
U: Unpin,
impl<T, U> UnwindSafe for BitConcat<T, U> where
T: UnwindSafe,
U: UnwindSafe,
T: UnwindSafe,
U: UnwindSafe,
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,
pub 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<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,