Struct swarm_bot_packets::types::RawVec
source · pub struct RawVec<T = u8>(pub Vec<T>);
Expand description
Writes like a Vec but without len
Tuple Fields§
§0: Vec<T>
Implementations§
Trait Implementations§
source§impl ByteReadable for RawVec
impl ByteReadable for RawVec
fn read_from_bytes(byte_reader: &mut ByteReader) -> Self
source§impl<T: ByteReadable> ByteReadableLike for RawVec<T>
impl<T: ByteReadable> ByteReadableLike for RawVec<T>
type Param = usize
fn read_from_bytes(byte_reader: &mut ByteReader, param: &usize) -> Self
source§impl ByteWritable for RawVec
impl ByteWritable for RawVec
fn write_to_bytes(self, writer: &mut ByteWriter)
Auto Trait Implementations§
impl<T> RefUnwindSafe for RawVec<T>where T: RefUnwindSafe,
impl<T> Send for RawVec<T>where T: Send,
impl<T> Sync for RawVec<T>where T: Sync,
impl<T> Unpin for RawVec<T>where T: Unpin,
impl<T> UnwindSafe for RawVec<T>where T: UnwindSafe,
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