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