pub trait HasW {
    type Output;

    fn w(&self) -> Self::Output;

    fn a(&self) -> Self::Output { ... }
}
Expand description

Expressions having a w or a coordinate.

Akin to swizzling with .w or .a, but easier.

Required Associated Types

Required Methods

Provided Methods

Implementors