pub struct Position { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Field for Position
impl Field for Position
Source§fn to_bytes(&self) -> Vec<u8> ⓘ
fn to_bytes(&self) -> Vec<u8> ⓘ
Serializes the field into an array of bytes in accordance with the minecraft protocol. Read more
Source§fn from_reader(reader: &mut PacketReader) -> Result<Position, Errors>
fn from_reader(reader: &mut PacketReader) -> Result<Position, Errors>
Allows a field to be read from a PacketReader, which is a mostly internal struct. Read more
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
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