Trait parry3d::utils::AsBytes

source ·
pub trait AsBytes {
    // Required method
    fn as_bytes(&self) -> &[u8] ;
}
Expand description

Trait that transforms thing to a slice of u8.

Required Methods§

source

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

Converts self to a slice of bytes.

Implementations on Foreign Types§

source§

impl<N: RealField> AsBytes for Vector2<N>

source§

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

source§

impl<N: RealField> AsBytes for Vector3<N>

source§

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

source§

impl<N: RealField> AsBytes for Point2<N>

source§

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

source§

impl<N: RealField> AsBytes for Point3<N>

source§

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

Implementors§