pub trait HasZ {
    type Output;

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

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

Expressions having a z or b coordinate.

Akin to swizzling with .z or .b, but easier.

Required Associated Types

Required Methods

Provided Methods

Implementors