pub enum PacketDirection {
ClientBound,
ServerBound,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PacketDirection
impl Clone for PacketDirection
Source§fn clone(&self) -> PacketDirection
fn clone(&self) -> PacketDirection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PacketDirection
impl Debug for PacketDirection
Source§impl PartialEq for PacketDirection
impl PartialEq for PacketDirection
impl Copy for PacketDirection
impl Eq for PacketDirection
impl StructuralPartialEq for PacketDirection
Auto Trait Implementations§
impl Freeze for PacketDirection
impl RefUnwindSafe for PacketDirection
impl Send for PacketDirection
impl Sync for PacketDirection
impl Unpin for PacketDirection
impl UnwindSafe for PacketDirection
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