[][src]Struct terminus_store::structure::adjacencylist::AdjacencyList

pub struct AdjacencyList {
    pub nums: LogArray,
    pub bits: BitIndex,
}

Fields

nums: LogArraybits: BitIndex

Implementations

impl AdjacencyList[src]

pub fn from_parts(nums: LogArray, bits: BitIndex) -> AdjacencyList[src]

pub fn parse(
    nums_slice: Bytes,
    bits_slice: Bytes,
    bits_block_slice: Bytes,
    bits_sblock_slice: Bytes
) -> AdjacencyList
[src]

pub fn left_count(&self) -> usize[src]

pub fn right_count(&self) -> usize[src]

pub fn offset_for(&self, index: u64) -> u64[src]

pub fn pair_at_pos(&self, pos: u64) -> (u64, u64)[src]

pub fn get(&self, index: u64) -> LogArray[src]

pub fn iter(&self) -> AdjacencyListIterator[src]

pub fn bits(&self) -> &BitIndex[src]

pub fn nums(&self) -> &LogArray[src]

Trait Implementations

impl Clone for AdjacencyList[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,