Trait glam::swizzles::Vec2Swizzles
source · [−]pub trait Vec2Swizzles: Sized + Copy + Clone {
type Vec3;
type Vec4;
Show 28 methods
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;
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 xx(self) -> Self;
fn yx(self) -> Self;
fn yy(self) -> Self;
fn xy(self) -> Self { ... }
}
Expand description
Swizzle methods for 2-dimensional vector types.