Struct library_of_babel::Address[][src]

pub struct Address {
    pub hex: String,
    pub wall: u8,
    pub shelf: u8,
    pub volume: u8,
    pub page: u16,
}

Struct containing Address to a page in a book on a shelf in the wall in the hex room

Fields

hex: String

Hex room

wall: u8

Wall

shelf: u8

Shelf

volume: u8

Volume/Book

page: u16

Page

Trait Implementations

impl Display for Address[src]

impl PartialEq<Address> for Address[src]

impl StructuralPartialEq for Address[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> ToString for T where
    T: Display + ?Sized
[src]

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>,