[]Trait bevy::core::FromBytes

pub trait FromBytes {
    pub fn from_bytes(bytes: &[u8]) -> Self;
}

Converts a byte array to Self

Required methods

pub fn from_bytes(bytes: &[u8]) -> Self

Converts a byte array to Self

Loading content...

Implementations on Foreign Types

impl<T> FromBytes for Vec<T, Global> where
    T: Clone + Byteable

impl<T> FromBytes for Option<T> where
    T: FromBytes

Loading content...

Implementors

impl FromBytes for Mat4

impl<T> FromBytes for T where
    T: Byteable + Clone

Loading content...