pub trait PropertyMutate: PropertyMutateClone + Send + Sync + 'static {
    // Required method
    fn mutate(&mut self, property_index: u8);
}
Expand description

Tracks which Properties have changed and need to be queued for syncing with the Client

Required Methods§

source

fn mutate(&mut self, property_index: u8)

Given the index of the Property whose value has changed, queue that Property for transmission to the Client

Trait Implementations§

source§

impl Clone for Box<dyn PropertyMutate>

source§

fn clone(&self) -> Box<dyn PropertyMutate>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

Implementors§