pub struct PLYStatusBar { /* private fields */ }Expand description
Host overlay view that shows time, network, etc. in a bar at the top of the screen.
Implementations§
Source§impl PLYStatusBar
impl PLYStatusBar
Sourcepub fn new(window: &PLYWindow) -> PLYStatusBar
pub fn new(window: &PLYWindow) -> PLYStatusBar
Returns a reference to the given window’s status bar.
Sourcepub fn set_style(&mut self, style: UIStatusBarStyle)
pub fn set_style(&mut self, style: UIStatusBarStyle)
Sets the style of the status bar.
Trait Implementations§
Source§impl Drop for PLYStatusBar
impl Drop for PLYStatusBar
Source§impl Raw for PLYStatusBar
impl Raw for PLYStatusBar
Auto Trait Implementations§
impl Freeze for PLYStatusBar
impl RefUnwindSafe for PLYStatusBar
impl !Send for PLYStatusBar
impl !Sync for PLYStatusBar
impl Unpin for PLYStatusBar
impl UnsafeUnpin for PLYStatusBar
impl UnwindSafe for PLYStatusBar
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