InventoryDataSink

Trait InventoryDataSink 

Source
pub trait InventoryDataSink {
    type E: ObjectDataSink;
    type IB: InventoryBagsDataSink;
    type IG: InventoryGroupsDataSink;
    type II: InventoryItemsDataSink;

    // Required methods
    fn end_inv(self) -> Self::E;
    fn push_attr_csl(self, csl: u32) -> Self;
    fn start_bag(self) -> Self::IB;
    fn start_grps(self) -> Self::IG;
    fn start_items(self) -> Self::II;
}

Required Associated Types§

Required Methods§

Source

fn end_inv(self) -> Self::E

Source

fn push_attr_csl(self, csl: u32) -> Self

Source

fn start_bag(self) -> Self::IB

Source

fn start_grps(self) -> Self::IG

Source

fn start_items(self) -> Self::II

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§

Source§

impl<'a> InventoryDataSink for InventoryStoreDataSink<'a>

Source§

type E = &'a mut Object

Source§

type IB = (&'a mut Object, Inventory)

Source§

type IG = (&'a mut Object, Inventory)

Source§

type II = (&'a mut Object, Inventory)