Skip to main content

BodyFixed

Trait BodyFixed 

Source
pub trait BodyFixed: ReferenceFrame {
    type Origin: CoordinateOrigin + Copy;

    // Required method
    fn origin(&self) -> Self::Origin;
}
Expand description

Marker trait for body-fixed reference frames.

Required Associated Types§

Source

type Origin: CoordinateOrigin + Copy

The coordinate origin (central body) of the body-fixed frame.

Required Methods§

Source

fn origin(&self) -> Self::Origin

Returns the coordinate origin (central body) of the body-fixed frame.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§