pub enum FoldablePosture {
Closed,
HalfOpen,
Flat,
Tent,
}Expand description
Physical posture inferred from a foldable or laptop lid hinge angle.
Variants§
Trait Implementations§
Source§impl Clone for FoldablePosture
impl Clone for FoldablePosture
Source§fn clone(&self) -> FoldablePosture
fn clone(&self) -> FoldablePosture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FoldablePosture
Source§impl Debug for FoldablePosture
impl Debug for FoldablePosture
Source§impl Default for FoldablePosture
impl Default for FoldablePosture
Source§fn default() -> FoldablePosture
fn default() -> FoldablePosture
Returns the “default value” for a type. Read more
impl Eq for FoldablePosture
Source§impl PartialEq for FoldablePosture
impl PartialEq for FoldablePosture
impl StructuralPartialEq for FoldablePosture
Auto Trait Implementations§
impl Forget for FoldablePosture
impl Freeze for FoldablePosture
impl Move for FoldablePosture
impl RefUnwindSafe for FoldablePosture
impl Send for FoldablePosture
impl Sync for FoldablePosture
impl Unpin for FoldablePosture
impl UnsafeUnpin for FoldablePosture
impl UnwindSafe for FoldablePosture
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.