#[non_exhaustive]pub enum CantValue {
Height(Scalar),
Angle(Scalar),
}Expand description
What a cant law gives at a station: a cant height or a bank angle.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Height(Scalar)
Cant D, or a rate of it, in length units (per unit plan distance
for a rate).
Angle(Scalar)
Bank angle psi, or a rate of it, in radians (per unit plan
distance for a rate).
Trait Implementations§
impl Copy for CantValue
impl StructuralPartialEq for CantValue
Auto Trait Implementations§
impl Freeze for CantValue
impl RefUnwindSafe for CantValue
impl Send for CantValue
impl Sync for CantValue
impl Unpin for CantValue
impl UnsafeUnpin for CantValue
impl UnwindSafe for CantValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more