Skip to main content

ShiftTransform

Trait ShiftTransform 

Source
pub trait ShiftTransform {
    // Required method
    fn shift(&mut self, offset: DVec3) -> &mut Self;
}
Expand description

Shifting operations.

This trait is blanket-implemented for all T: ApplyTransform<Translation> (see super::ApplyTransform).

Required Methods§

Source

fn shift(&mut self, offset: DVec3) -> &mut Self

Shift the item by a given vector.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§