pub struct AndroidScreen { /* private fields */ }Expand description
A screen of the device.
Implementations§
Source§impl AndroidScreen
impl AndroidScreen
Sourcepub fn display_id(&self) -> i32
pub fn display_id(&self) -> i32
The id of the display of the screen.
Trait Implementations§
Source§impl AsRef<PlatformScreen> for AndroidScreen
impl AsRef<PlatformScreen> for AndroidScreen
Source§fn as_ref(&self) -> &PlatformScreen
fn as_ref(&self) -> &PlatformScreen
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AndroidScreen
impl !Send for AndroidScreen
impl !Sync for AndroidScreen
impl !UnwindSafe for AndroidScreen
impl Freeze for AndroidScreen
impl Unpin for AndroidScreen
impl UnsafeUnpin for AndroidScreen
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more