pub struct ServerParams {
pub player_count: usize,
}Fields§
§player_count: usizeTrait Implementations§
Source§impl Clone for ServerParams
impl Clone for ServerParams
Source§fn clone(&self) -> ServerParams
fn clone(&self) -> ServerParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ServerParams
Auto Trait Implementations§
impl Freeze for ServerParams
impl RefUnwindSafe for ServerParams
impl Send for ServerParams
impl Sync for ServerParams
impl Unpin for ServerParams
impl UnsafeUnpin for ServerParams
impl UnwindSafe for ServerParams
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