Struct egui::menu::SubMenuButton
source · pub struct SubMenuButton { /* private fields */ }
Implementations§
source§impl SubMenuButton
impl SubMenuButton
pub fn icon(self, icon: impl Into<WidgetText>) -> Self
Auto Trait Implementations§
impl RefUnwindSafe for SubMenuButton
impl Send for SubMenuButton
impl Sync for SubMenuButton
impl Unpin for SubMenuButton
impl UnwindSafe for SubMenuButton
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