ncollide3d::utils

Trait 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]

Implementations on Foreign Types§

Source§

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

Source§

fn as_bytes<'a>(&'a self) -> &'a [u8]

Source§

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

Source§

fn as_bytes<'a>(&'a self) -> &'a [u8]

Source§

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

Source§

fn as_bytes<'a>(&'a self) -> &'a [u8]

Source§

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

Source§

fn as_bytes<'a>(&'a self) -> &'a [u8]

Implementors§