pub struct WindowType(pub u8);Expand description
The kind of a window, with Android’s AccessibilityWindowInfo.TYPE_* values.
Tuple Fields§
§0: u8Implementations§
Source§impl WindowType
impl WindowType
Sourcepub const UNKNOWN: WindowType
pub const UNKNOWN: WindowType
Any window this version does not classify.
pub const APPLICATION: WindowType
pub const INPUT_METHOD: WindowType
pub const SYSTEM: WindowType
pub const ACCESSIBILITY_OVERLAY: WindowType
pub const SPLIT_SCREEN_DIVIDER: WindowType
pub const MAGNIFICATION_OVERLAY: WindowType
Trait Implementations§
Source§impl Clone for WindowType
impl Clone for WindowType
impl Copy for WindowType
Source§impl Debug for WindowType
impl Debug for WindowType
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for WindowType
impl<'bytes, Ctx> Decode<'bytes, Ctx> for WindowType
Source§impl Default for WindowType
impl Default for WindowType
Source§impl Display for WindowType
impl Display for WindowType
Source§impl<Ctx> Encode<Ctx> for WindowType
impl<Ctx> Encode<Ctx> for WindowType
impl Eq for WindowType
Source§impl Hash for WindowType
impl Hash for WindowType
Source§impl Ord for WindowType
impl Ord for WindowType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WindowType
impl PartialEq for WindowType
Source§impl PartialOrd for WindowType
impl PartialOrd for WindowType
impl StructuralPartialEq for WindowType
Auto Trait Implementations§
impl Freeze for WindowType
impl RefUnwindSafe for WindowType
impl Send for WindowType
impl Sync for WindowType
impl Unpin for WindowType
impl UnsafeUnpin for WindowType
impl UnwindSafe for WindowType
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