HingeAngle

Trait HingeAngle 

Source
pub trait HingeAngle {
    type Output;

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

Trait representing devices that can provide angle measurements.

Required Associated Types§

Source

type Output

The output type for the angle measurement. This could be a simple numeric type depending on the device precision.

Required Methods§

Source

fn angle(&self) -> Self::Output

Retrieves the current hinge angle.

Implementors§