ObjectDataSink

Trait ObjectDataSink 

Source
pub trait ObjectDataSink {
    type V: ObjectDataSink;
    type B: BuffDataSink;
    type D: DestructibleDataSink;
    type I: InventoryDataSink;
    type M: MinifigDataSink;

    // Required methods
    fn push_attr_v(self, v: u32) -> Self::V;
    fn start_buff(self) -> Self::B;
    fn start_dest(self) -> Self::D;
    fn start_inv(self) -> Self::I;
    fn start_mf(self) -> Self::M;
}

Required Associated Types§

Required Methods§

Source

fn push_attr_v(self, v: u32) -> Self::V

Source

fn start_buff(self) -> Self::B

Source

fn start_dest(self) -> Self::D

Source

fn start_inv(self) -> Self::I

Source

fn start_mf(self) -> Self::M

Implementors§

Source§

impl<'a> ObjectDataSink for ObjectStoreDataSink<'a>

Source§

type V = &'a mut Object

Source§

type B = &'a mut Object

Source§

type D = (&'a mut Object, Destructible)

Source§

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

Source§

type M = (&'a mut Object, Minifig)