Struct ExConnectToHost
pub struct ExConnectToHost<'a> { /* private fields */ }
Expand description
Default-param extender for ENetConnection::connect_to_host_ex
.
Implementations§
§impl<'a> ExConnectToHost<'a>
impl<'a> ExConnectToHost<'a>
pub fn channels(self, channels: i32) -> ExConnectToHost<'a>
pub fn data(self, data: i32) -> ExConnectToHost<'a>
pub fn done(self) -> Option<Gd<ENetPacketPeer>>
Auto Trait Implementations§
impl<'a> Freeze for ExConnectToHost<'a>
impl<'a> RefUnwindSafe for ExConnectToHost<'a>
impl<'a> !Send for ExConnectToHost<'a>
impl<'a> !Sync for ExConnectToHost<'a>
impl<'a> Unpin for ExConnectToHost<'a>
impl<'a> !UnwindSafe for ExConnectToHost<'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