Struct simple_db_rust::btree::page::BTreeLeafPage[][src]

pub struct BTreeLeafPage {
    pub slot_count: usize,
    pub tuple_scheme: TupleScheme,
    // some fields omitted
}

Fields

slot_count: usizetuple_scheme: TupleScheme

Implementations

Retrieve the maximum number of tuples this page can hold.

Returns the number of tuples currently stored on this page

Adds the specified tuple to the page such that all records remain in sorted order; the tuple should be updated to reflect that it is now stored on this page. tuple: The tuple to add.

Returns true if associated slot on this page is filled.

Methods from Deref<Target = BTreePage>

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

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

Performs the conversion.

Performs the conversion.

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.