#[repr(C)]pub struct WindowManager_WindowProperties {Show 13 fields
pub windowRect: WindowManager_Rect,
pub drawableRect: WindowManager_Rect,
pub type_: WindowManager_WindowType,
pub isFullScreen: bool,
pub isLayoutFullScreen: bool,
pub focusable: bool,
pub touchable: bool,
pub brightness: f32,
pub isKeepScreenOn: bool,
pub isPrivacyMode: bool,
pub isTransparent: bool,
pub id: u32,
pub displayId: u32,
}Available on crate feature
api-15 only.Expand description
Properties of window
Available since API-level: 15
Fields§
§windowRect: WindowManager_RectThe position and size of the window.
drawableRect: WindowManager_RectThe position relative to the window and size of drawable area.
type_: WindowManager_WindowTypeWindow type.
isFullScreen: boolWhether the window is displayed in full screen mode. The default value is false.
isLayoutFullScreen: boolWhether the window layout is full screen mode. The default value is false.
focusable: boolWhether the window can gain focus. The default value is true.
touchable: boolWhether the window is touchable. The default value is false.
brightness: f32Brightness value of window.
isKeepScreenOn: boolWhether keep screen on.
isPrivacyMode: boolWhether make window in privacy mode or not.
isTransparent: boolWhether is transparent or not.
id: u32Window id.
displayId: u32Display id.
Trait Implementations§
Source§impl Clone for WindowManager_WindowProperties
Available on crate feature api-12 only.
impl Clone for WindowManager_WindowProperties
Available on crate feature
api-12 only.Source§fn clone(&self) -> WindowManager_WindowProperties
fn clone(&self) -> WindowManager_WindowProperties
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowManager_WindowProperties
Available on crate feature api-12 only.
impl Debug for WindowManager_WindowProperties
Available on crate feature
api-12 only.impl Copy for WindowManager_WindowProperties
Available on crate feature
api-12 only.Auto Trait Implementations§
impl Freeze for WindowManager_WindowProperties
Available on crate feature
api-12 only.impl RefUnwindSafe for WindowManager_WindowProperties
Available on crate feature
api-12 only.impl Send for WindowManager_WindowProperties
Available on crate feature
api-12 only.impl Sync for WindowManager_WindowProperties
Available on crate feature
api-12 only.impl Unpin for WindowManager_WindowProperties
Available on crate feature
api-12 only.impl UnwindSafe for WindowManager_WindowProperties
Available on crate feature
api-12 only.Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on crate feature api-12 only.
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Available on crate feature
api-12 only.§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
Available on crate feature api-12 only.
impl<T> CloneToUninit for Twhere
T: Clone,
Available on crate feature
api-12 only.§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)