Struct NetFromClientEvent
pub struct NetFromClientEvent<'a> {
pub player: u128,
pub channel: &'a str,
pub data: &'a [u8],
}Expand description
What Hooks::net_from_client is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§player: u128§channel: &'a str§data: &'a [u8]Auto Trait Implementations§
impl<'a> Freeze for NetFromClientEvent<'a>
impl<'a> RefUnwindSafe for NetFromClientEvent<'a>
impl<'a> Send for NetFromClientEvent<'a>
impl<'a> Sync for NetFromClientEvent<'a>
impl<'a> Unpin for NetFromClientEvent<'a>
impl<'a> UnsafeUnpin for NetFromClientEvent<'a>
impl<'a> UnwindSafe for NetFromClientEvent<'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