Struct naia_shared::DiffMask
source · [−]pub struct DiffMask { /* private fields */ }Expand description
The DiffMask is a variable-length byte array, where each bit represents the current state of a Property owned by a Replica. The Property tracks whether it has been updated and needs to be synced with the remote Client
Implementations
Gets the bit at the specified position within the DiffMask
Sets the bit at the specified position within the DiffMask
Get the number of bytes required to represent the DiffMask
Performs a NAND operation on the DiffMask, with another DiffMask
Performs an OR operation on the DiffMask, with another DiffMask
Reads the DiffMask from an incoming packet
Copies the DiffMask into another DiffMask
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DiffMask
impl UnwindSafe for DiffMask
Blanket Implementations
Mutably borrows from an owned value. Read more