Struct ExCreateServer
pub struct ExCreateServer<'ex> { /* private fields */ }Expand description
Default-param extender for ENetMultiplayerPeer::create_server_ex.
Implementations§
§impl<'ex> ExCreateServer<'ex>
impl<'ex> ExCreateServer<'ex>
pub fn max_clients(self, max_clients: i32) -> ExCreateServer<'ex>
pub fn max_channels(self, max_channels: i32) -> ExCreateServer<'ex>
pub fn in_bandwidth(self, in_bandwidth: i32) -> ExCreateServer<'ex>
pub fn out_bandwidth(self, out_bandwidth: i32) -> ExCreateServer<'ex>
pub fn done(self) -> Error
Auto Trait Implementations§
impl<'ex> Freeze for ExCreateServer<'ex>
impl<'ex> RefUnwindSafe for ExCreateServer<'ex>
impl<'ex> !Send for ExCreateServer<'ex>
impl<'ex> !Sync for ExCreateServer<'ex>
impl<'ex> Unpin for ExCreateServer<'ex>
impl<'ex> !UnwindSafe for ExCreateServer<'ex>
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