pub struct WindowAction {
pub label: String,
pub on_click: Rc<dyn Fn()>,
}Fields§
§label: String§on_click: Rc<dyn Fn()>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WindowAction
impl !Send for WindowAction
impl !Sync for WindowAction
impl !UnwindSafe for WindowAction
impl Forget for WindowAction
impl Freeze for WindowAction
impl Move for WindowAction
impl Unpin for WindowAction
impl UnsafeUnpin for WindowActionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const RcInner<dyn Fn()> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn()>>: 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