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