Skip to main content

IOrderCachedListNodeID

Trait IOrderCachedListNodeID 

Source
pub trait IOrderCachedListNodeID: IBasicEntityListID {
    const ORDER_REPR: OrderRepr;

    // Required methods
    fn obj_load_order(obj: &Self::ObjectT) -> usize;
    fn obj_store_order(obj: &Self::ObjectT, order: usize);
}
Expand description

An entity pointer list node that supports order-cached lists.

Required Associated Constants§

Source

const ORDER_REPR: OrderRepr

Representation type of the order cache.

Required Methods§

Source

fn obj_load_order(obj: &Self::ObjectT) -> usize

Load the order from the entity object.

Source

fn obj_store_order(obj: &Self::ObjectT, order: usize)

Store the order into the entity object.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§