pub trait Pose<P, R>: Transform<P>where
P: EuclideanSpace,{
// Required methods
fn new(position: P, rotation: R) -> Self;
fn set_rotation(&mut self, rotation: R);
fn set_position(&mut self, position: P);
fn rotation(&self) -> R;
fn position(&self) -> P;
}Expand description
Pose abstraction
Required Methods§
Sourcefn set_rotation(&mut self, rotation: R)
fn set_rotation(&mut self, rotation: R)
Set rotation
Sourcefn set_position(&mut self, position: P)
fn set_position(&mut self, position: P)
Set position
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.