pub struct UpdateFrequencyNotification {
pub frequency: u8,
pub game_time: u32,
}Expand description
The server informs us how frequently it is going to send update
the the client, and also give the server game time (exactly the
same as SetGameTime element, but inlined here).
Fields§
§frequency: u8The frequency in hertz.
game_time: u32The server game time.
Trait Implementations§
Source§impl Clone for UpdateFrequencyNotification
impl Clone for UpdateFrequencyNotification
Source§fn clone(&self) -> UpdateFrequencyNotification
fn clone(&self) -> UpdateFrequencyNotification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateFrequencyNotification
impl Debug for UpdateFrequencyNotification
Source§impl TopElement for UpdateFrequencyNotification
impl TopElement for UpdateFrequencyNotification
Source§const LEN: ElementLength
const LEN: ElementLength
The type of length that prefixes the element’s content and describe
how much space is taken by the element.
Auto Trait Implementations§
impl Freeze for UpdateFrequencyNotification
impl RefUnwindSafe for UpdateFrequencyNotification
impl Send for UpdateFrequencyNotification
impl Sync for UpdateFrequencyNotification
impl Unpin for UpdateFrequencyNotification
impl UnwindSafe for UpdateFrequencyNotification
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