Trait bones_framework::prelude::swizzles::Vec2Swizzles
source · pub trait Vec2Swizzles: Sized + Copy + Clone {
type Vec3;
type Vec4;
Show 28 methods
// Required methods
fn xx(self) -> Self;
fn yx(self) -> Self;
fn yy(self) -> Self;
fn xxx(self) -> Self::Vec3;
fn xxy(self) -> Self::Vec3;
fn xyx(self) -> Self::Vec3;
fn xyy(self) -> Self::Vec3;
fn yxx(self) -> Self::Vec3;
fn yxy(self) -> Self::Vec3;
fn yyx(self) -> Self::Vec3;
fn yyy(self) -> Self::Vec3;
fn xxxx(self) -> Self::Vec4;
fn xxxy(self) -> Self::Vec4;
fn xxyx(self) -> Self::Vec4;
fn xxyy(self) -> Self::Vec4;
fn xyxx(self) -> Self::Vec4;
fn xyxy(self) -> Self::Vec4;
fn xyyx(self) -> Self::Vec4;
fn xyyy(self) -> Self::Vec4;
fn yxxx(self) -> Self::Vec4;
fn yxxy(self) -> Self::Vec4;
fn yxyx(self) -> Self::Vec4;
fn yxyy(self) -> Self::Vec4;
fn yyxx(self) -> Self::Vec4;
fn yyxy(self) -> Self::Vec4;
fn yyyx(self) -> Self::Vec4;
fn yyyy(self) -> Self::Vec4;
// Provided method
fn xy(self) -> Self { ... }
}
Required Associated Types§
Required Methods§
fn xx(self) -> Self
fn yx(self) -> Self
fn yy(self) -> Self
fn xxx(self) -> Self::Vec3
fn xxy(self) -> Self::Vec3
fn xyx(self) -> Self::Vec3
fn xyy(self) -> Self::Vec3
fn yxx(self) -> Self::Vec3
fn yxy(self) -> Self::Vec3
fn yyx(self) -> Self::Vec3
fn yyy(self) -> Self::Vec3
fn xxxx(self) -> Self::Vec4
fn xxxy(self) -> Self::Vec4
fn xxyx(self) -> Self::Vec4
fn xxyy(self) -> Self::Vec4
fn xyxx(self) -> Self::Vec4
fn xyxy(self) -> Self::Vec4
fn xyyx(self) -> Self::Vec4
fn xyyy(self) -> Self::Vec4
fn yxxx(self) -> Self::Vec4
fn yxxy(self) -> Self::Vec4
fn yxyx(self) -> Self::Vec4
fn yxyy(self) -> Self::Vec4
fn yyxx(self) -> Self::Vec4
fn yyxy(self) -> Self::Vec4
fn yyyx(self) -> Self::Vec4
fn yyyy(self) -> Self::Vec4
Provided Methods§
Object Safety§
This trait is not object safe.