pub struct WindowFlags(pub u32);Expand description
Window states.
Tuple Fields§
§0: u32Implementations§
Source§impl WindowFlags
impl WindowFlags
Sourcepub const EMPTY: WindowFlags
pub const EMPTY: WindowFlags
No bit set.
pub const ACTIVE: WindowFlags
pub const FOCUSED: WindowFlags
pub const ACCESSIBILITY_FOCUSED: WindowFlags
pub const PICTURE_IN_PICTURE: WindowFlags
Sourcepub const TRANSFORMED: WindowFlags
pub const TRANSFORMED: WindowFlags
Drawn away from where its layout puts it, as the platform draws a window while it animates the window in or out: partly off the display, or at another size than its layout’s, which agents tell on Android 14 and later. Its bounds and its nodes’ are then those of a frame of that animation.
Sourcepub const fn contains(self, other: WindowFlags) -> bool
pub const fn contains(self, other: WindowFlags) -> bool
Whether every bit of other is set in self.
Trait Implementations§
Source§impl BitOr for WindowFlags
impl BitOr for WindowFlags
Source§type Output = WindowFlags
type Output = WindowFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: WindowFlags) -> WindowFlags
fn bitor(self, rhs: WindowFlags) -> WindowFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for WindowFlags
impl BitOrAssign for WindowFlags
Source§fn bitor_assign(&mut self, rhs: WindowFlags)
fn bitor_assign(&mut self, rhs: WindowFlags)
Performs the
|= operation. Read moreSource§impl Clone for WindowFlags
impl Clone for WindowFlags
impl Copy for WindowFlags
Source§impl Debug for WindowFlags
impl Debug for WindowFlags
Source§impl<'bytes, Ctx> Decode<'bytes, Ctx> for WindowFlags
impl<'bytes, Ctx> Decode<'bytes, Ctx> for WindowFlags
Source§impl Default for WindowFlags
impl Default for WindowFlags
Source§impl Display for WindowFlags
impl Display for WindowFlags
Source§impl<Ctx> Encode<Ctx> for WindowFlags
impl<Ctx> Encode<Ctx> for WindowFlags
impl Eq for WindowFlags
Source§impl Hash for WindowFlags
impl Hash for WindowFlags
Source§impl PartialEq for WindowFlags
impl PartialEq for WindowFlags
impl StructuralPartialEq for WindowFlags
Auto Trait Implementations§
impl Freeze for WindowFlags
impl RefUnwindSafe for WindowFlags
impl Send for WindowFlags
impl Sync for WindowFlags
impl Unpin for WindowFlags
impl UnsafeUnpin for WindowFlags
impl UnwindSafe for WindowFlags
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