pub struct HingeAngleReading {
pub available: bool,
pub angle_deg: f32,
pub posture: FoldablePosture,
}Expand description
Foldable display / laptop lid hinge angle reading in degrees (0..=360).
Fields§
§available: bool§angle_deg: f32§posture: FoldablePostureImplementations§
Source§impl HingeAngleReading
impl HingeAngleReading
pub fn from_degrees(angle_deg: f32) -> Self
Trait Implementations§
Source§impl Clone for HingeAngleReading
impl Clone for HingeAngleReading
impl Copy for HingeAngleReading
Source§impl Debug for HingeAngleReading
impl Debug for HingeAngleReading
Source§impl Default for HingeAngleReading
impl Default for HingeAngleReading
Source§impl PartialEq for HingeAngleReading
impl PartialEq for HingeAngleReading
impl StructuralPartialEq for HingeAngleReading
Auto Trait Implementations§
impl Forget for HingeAngleReading
impl Freeze for HingeAngleReading
impl Move for HingeAngleReading
impl RefUnwindSafe for HingeAngleReading
impl Send for HingeAngleReading
impl Sync for HingeAngleReading
impl Unpin for HingeAngleReading
impl UnsafeUnpin for HingeAngleReading
impl UnwindSafe for HingeAngleReading
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