[][src]Enum binjs_io::entropy::dictionary::TableRef

pub enum TableRef {
    Shared(usize),
    Prelude(usize),
}

An index in an LinearTable.

Variants

Shared(usize)

The index represents a value in a shared dictionary.

Prelude(usize)

The index represents a value in a prelude dictionary.

Methods

impl TableRef[src]

pub fn as_shared(&self) -> Option<usize>[src]

Trait Implementations

impl Clone for TableRef[src]

impl Copy for TableRef[src]

impl Debug for TableRef[src]

impl<'de> Deserialize<'de> for TableRef[src]

impl Eq for TableRef[src]

impl Hash for TableRef[src]

impl PartialEq<TableRef> for TableRef[src]

impl Serialize for TableRef[src]

impl StructuralEq for TableRef[src]

impl StructuralPartialEq for TableRef[src]

Auto Trait Implementations

impl RefUnwindSafe for TableRef

impl Send for TableRef

impl Sync for TableRef

impl Unpin for TableRef

impl UnwindSafe for TableRef

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[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>, 
[src]