Struct bv::adapter::BitFill[][src]

pub struct BitFill<Block> { /* fields omitted */ }

Emulates a constant-valued bit-vector of a given size.

Methods

impl<Block: BlockType> BitFill<Block>
[src]

Constructs a compact bit-vector-like of len 0s.

Constructs a compact bit-vector-like of len 1s.

Trait Implementations

impl<Block: Debug> Debug for BitFill<Block>
[src]

Formats the value using the given formatter. Read more

impl<Block: Clone> Clone for BitFill<Block>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Block: BlockType> Bits for BitFill<Block>
[src]

The underlying block type used to store the bits of the vector.

The length of the slice in bits.

Gets the bit at position Read more

Gets the block at position Read more

Gets count bits starting at bit index start, interpreted as a little-endian integer. Read more

The length of the slice in blocks.

Copies the bits into a new allocated [BitVec]. Read more

impl<T: Bits> PartialEq<T> for BitFill<T::Block>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<Block: BlockType> Index<u64> for BitFill<Block>
[src]

The returned type after indexing.

Performs the indexing (container[index]) operation.

impl<Block: BlockType> BitSliceable<Range<u64>> for BitFill<Block>
[src]

The type of the slice produced.

Slices or re-slices the given object. Read more

impl<Block: BlockType> BitSliceable<RangeFrom<u64>> for BitFill<Block>
[src]

The type of the slice produced.

Slices or re-slices the given object. Read more

impl<Block: BlockType> BitSliceable<RangeTo<u64>> for BitFill<Block>
[src]

The type of the slice produced.

Slices or re-slices the given object. Read more

impl<Block: BlockType> BitSliceable<RangeFull> for BitFill<Block>
[src]

The type of the slice produced.

Slices or re-slices the given object. Read more

impl<Block: BlockType> BitSliceable<RangeInclusive<u64>> for BitFill<Block>
[src]

The type of the slice produced.

Slices or re-slices the given object. Read more

impl<Block: BlockType> BitSliceable<RangeToInclusive<u64>> for BitFill<Block>
[src]

The type of the slice produced.

Slices or re-slices the given object. Read more

impl<'a, Block: BlockType> BitSliceable<Range<u64>> for &'a BitFill<Block>
[src]

The type of the slice produced.

Slices or re-slices the given object. Read more

impl<'a, Block: BlockType> BitSliceable<RangeFrom<u64>> for &'a BitFill<Block>
[src]

The type of the slice produced.

Slices or re-slices the given object. Read more

impl<'a, Block: BlockType> BitSliceable<RangeTo<u64>> for &'a BitFill<Block>
[src]

The type of the slice produced.

Slices or re-slices the given object. Read more

impl<'a, Block: BlockType> BitSliceable<RangeFull> for &'a BitFill<Block>
[src]

The type of the slice produced.

Slices or re-slices the given object. Read more

impl<'a, Block: BlockType> BitSliceable<RangeInclusive<u64>> for &'a BitFill<Block>
[src]

The type of the slice produced.

Slices or re-slices the given object. Read more

impl<'a, Block: BlockType> BitSliceable<RangeToInclusive<u64>> for &'a BitFill<Block>
[src]

The type of the slice produced.

Slices or re-slices the given object. Read more

Auto Trait Implementations

impl<Block> Send for BitFill<Block> where
    Block: Send

impl<Block> Sync for BitFill<Block> where
    Block: Sync