Struct naia_shared::TickBufferSettings
source · pub struct TickBufferSettings {
pub message_capacity: usize,
}
Fields§
§message_capacity: usize
Describes a maximum of messages that may be kept in the buffer. Oldest messages are pruned out first.
Implementations§
Trait Implementations§
source§impl Clone for TickBufferSettings
impl Clone for TickBufferSettings
source§fn clone(&self) -> TickBufferSettings
fn clone(&self) -> TickBufferSettings
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for TickBufferSettings
impl Send for TickBufferSettings
impl Sync for TickBufferSettings
impl Unpin for TickBufferSettings
impl UnwindSafe for TickBufferSettings
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