Type Alias Vector4

Source
pub type Vector4 = Vec4;
Expand description

4D Vector for homogeneous coordinates, RGBA colors, etc.

Aliased Type§

pub struct Vector4(/* private fields */);

Trait Implementations§

Source§

impl BinarySerializable for Vector4

Source§

fn to_binary(&self) -> Result<Vec<u8>, Error>
where Self: Serialize,

Serialize to binary format
Source§

fn from_binary(data: &[u8]) -> Result<Self, Error>
where Self: DeserializeOwned,

Deserialize from binary format