pub struct OverlayHandle { /* private fields */ }Implementations§
Source§impl OverlayHandle
impl OverlayHandle
pub fn new() -> Self
pub fn show(&self, view: View) -> u64
pub fn show_with(&self, view: View, z_index: f32, pass_through: bool) -> u64
pub fn show_builder(&self, builder: Rc<dyn Fn() -> View>) -> u64
pub fn show_entry( &self, builder: Rc<dyn Fn() -> View>, z_index: f32, pass_through: bool, ) -> u64
pub fn dismiss(&self, id: u64) -> bool
pub fn clear(&self)
pub fn host(&self, modifier: Modifier, content: View) -> View
Trait Implementations§
Source§impl Clone for OverlayHandle
impl Clone for OverlayHandle
Source§fn clone(&self) -> OverlayHandle
fn clone(&self) -> OverlayHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OverlayHandle
impl !RefUnwindSafe for OverlayHandle
impl !Send for OverlayHandle
impl !Sync for OverlayHandle
impl Unpin for OverlayHandle
impl !UnwindSafe for OverlayHandle
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