pub struct Sync {
pub kind: i16,
pub sync_type: SyncType,
pub variables: HashMap<String, Value>,
pub event: SyncEvent,
pub is_ending: bool,
}Expand description
An object that’s being synced between players
Fields§
§kind: i16§sync_type: SyncType§variables: HashMap<String, Value>§event: SyncEvent§is_ending: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Sync
impl RefUnwindSafe for Sync
impl Send for Sync
impl Sync for Sync
impl Unpin for Sync
impl UnwindSafe for Sync
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more