pub struct TableI64<T> where
    T: Packer + PrimaryValueInterface + Default
{ pub code: u64, pub scope: u64, pub table: u64, /* private fields */ }
Expand description

Fields

code: u64
scope: u64
table: u64

Implementations

Creates a new TableI64 instance

remove value from database by iterator

get value by iterator. use Iterator::get_value for a more convenient way.

get next iterator

get previous iterator

return a iterator with a key >= key

return a iterator with a key > key

Return an end iterator, Iterator.is_end() return true if it’s a valid end iterator. This method is often used with TableI64.previous to get the last iterator.

let mut it = db.end();
if it.is_end() {
    it = db.previous();
    //...
}

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.