[−]Trait bevy::core::Bytes
Converts the implementing type to bytes by writing them to a given buffer
Required methods
pub fn write_bytes(&self, buffer: &mut [u8])
Converts the implementing type to bytes by writing them to a given buffer
pub fn byte_len(&self) -> usize
The number of bytes that will be written when calling write_bytes
Implementations on Foreign Types
impl<T> Bytes for Vec<T, Global> where
T: Byteable,
T: Byteable,
impl<T> Bytes for Option<T> where
T: Bytes,
Loading content...T: Bytes,