hinge-angle 0.1.0

A crate for accessing hinge angle sensors on various platforms
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use thiserror::Error;

use super::HingeAngle;

#[derive(Error, Debug)]
pub enum Error {}

pub struct Hinge;

impl HingeAngle for Hinge {
    type Output = Result<f64, Error>;

    fn angle(&self) -> Self::Output {
        unimplemented!()
    }
}