Struct raknet::util::MsgNumGenerator
source · pub struct MsgNumGenerator { /* private fields */ }
Implementations§
source§impl MsgNumGenerator
impl MsgNumGenerator
pub fn next(&mut self) -> MessageNumberType
pub fn new() -> Self
Trait Implementations§
source§impl Default for MsgNumGenerator
impl Default for MsgNumGenerator
source§fn default() -> MsgNumGenerator
fn default() -> MsgNumGenerator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MsgNumGenerator
impl Send for MsgNumGenerator
impl Sync for MsgNumGenerator
impl Unpin for MsgNumGenerator
impl UnwindSafe for MsgNumGenerator
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