PropertyMutate

Trait PropertyMutate 

Source
pub trait PropertyMutate:
    PropertyMutateClone
    + Send
    + Sync
    + 'static {
    // Required method
    fn mutate(&mut self, property_index: u8) -> bool;
}
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) -> bool

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 duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more

Implementors§