Skip to main content

Vec2Impl

Type Alias Vec2Impl 

Source
pub type Vec2Impl = Vec2;

Aliased Type§

#[repr(C)]
pub struct Vec2Impl { pub x: f32, pub y: f32, }

Fields§

§x: f32§y: f32

Trait Implementations§

Source§

impl TryFrom<&Data> for Vec2Impl

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: &Data) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Data> for Vec2Impl

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: Data) -> Result<Self, Self::Error>

Performs the conversion.