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, value: i32) -> ExCreateServer<'a>
pub fn max_channels(self, value: i32) -> ExCreateServer<'a>
pub fn in_bandwidth(self, value: i32) -> ExCreateServer<'a>
pub fn out_bandwidth(self, value: 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