[]Trait bevy::core::AsBytes

pub trait AsBytes {
    pub fn as_bytes(&self) -> &[u8]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
; }

Reads the implementing type as a byte array reference

Required methods

pub fn as_bytes(&self) -> &[u8]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]

Reads the implementing type as a byte array reference

Loading content...

Implementations on Foreign Types

impl<'a, T> AsBytes for [T] where
    T: Byteable

Loading content...

Implementors

impl<T> AsBytes for T where
    T: Byteable

Loading content...