pub struct OverlayStackEntry { /* private fields */ }Expand description
Single active overlay entry registered in the unified modal/drawer/sheet/popover dismissal stack.
Implementations§
Source§impl OverlayStackEntry
impl OverlayStackEntry
pub fn get_id(&self) -> u64
pub fn get_mut_id(&mut self) -> &mut u64
pub fn set_id(&mut self, val: u64) -> &mut Self
pub fn get_label(&self) -> &String
pub fn get_mut_label(&mut self) -> &mut String
pub fn set_label(&mut self, val: String) -> &mut Self
pub fn get_z_index(&self) -> i32
pub fn get_mut_z_index(&mut self) -> &mut i32
pub fn set_z_index(&mut self, val: i32) -> &mut Self
pub fn get_mut_on_dismiss(&mut self) -> &mut Rc<RefCell<dyn FnMut() + 'static>>
pub fn set_on_dismiss( &mut self, val: Rc<RefCell<dyn FnMut() + 'static>>, ) -> &mut Self
Trait Implementations§
Source§impl Clone for OverlayStackEntry
impl Clone for OverlayStackEntry
Source§impl Debug for OverlayStackEntry
impl Debug for OverlayStackEntry
Auto Trait Implementations§
impl !RefUnwindSafe for OverlayStackEntry
impl !Send for OverlayStackEntry
impl !Sync for OverlayStackEntry
impl !UnwindSafe for OverlayStackEntry
impl Forget for OverlayStackEntry
impl Freeze for OverlayStackEntry
impl Move for OverlayStackEntry
impl Unpin for OverlayStackEntry
impl UnsafeUnpin for OverlayStackEntrywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const RcInner<RefCell<dyn FnMut()>> is !null: UnsafeUnpin,
PhantomData<RcInner<RefCell<dyn FnMut()>>>: UnsafeUnpin,
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