Struct mmb_parser::index::IndexEntry[][src]

pub struct IndexEntry<'a> {
    pub ptr: u64,
    pub left: u64,
    pub right: u64,
    pub row: u32,
    pub col: u32,
    pub proof: u64,
    pub idx: u32,
    pub kind: u8,
    pub name: &'a [u8],
}

An index entry

Fields

ptr: u64

Pointer to this entry in the index

left: u64

Pointer (file-relative) to the left subtree of this item in the BST

right: u64

Pointer (file-relative) to the right subtree of this item in the BST

row: u32

Row number in source file

col: u32

Column number in source file

proof: u64

Pointer to the command statement that defines this item

idx: u32

Index to the item in the relevant table

kind: u8

To identify the item type

name: &'a [u8]

A null-terminated character string with the name

Trait Implementations

impl<'a> Clone for IndexEntry<'a>[src]

impl<'a> Copy for IndexEntry<'a>[src]

impl<'a> Debug for IndexEntry<'a>[src]

impl<'a> Eq for IndexEntry<'a>[src]

impl<'a> Hash for IndexEntry<'a>[src]

impl<'a> Ord for IndexEntry<'a>[src]

impl<'a> PartialEq<IndexEntry<'a>> for IndexEntry<'a>[src]

impl<'a> PartialOrd<IndexEntry<'a>> for IndexEntry<'a>[src]

impl<'a> StructuralEq for IndexEntry<'a>[src]

impl<'a> StructuralPartialEq for IndexEntry<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for IndexEntry<'a>

impl<'a> Send for IndexEntry<'a>

impl<'a> Sync for IndexEntry<'a>

impl<'a> Unpin for IndexEntry<'a>

impl<'a> UnwindSafe for IndexEntry<'a>

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.