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