pub struct AndroidToolbarMenuItem {
pub id: u64,
pub group_id: u64,
pub label: String,
pub icon: Option<MaterialIcon>,
pub icon_drawable: Option<String>,
pub show_text_with_icon: bool,
pub show_as_action: AndroidShowAsAction,
pub enabled: bool,
pub visible: bool,
pub checkable: bool,
pub checked: bool,
pub exclusive: bool,
}Expand description
Host-provided Android Toolbar menu item.
Fields§
§id: u64§group_id: u64§label: String§icon: Option<MaterialIcon>§icon_drawable: Option<String>§show_text_with_icon: bool§show_as_action: AndroidShowAsAction§enabled: bool§visible: bool§checkable: bool§checked: bool§exclusive: boolTrait Implementations§
Source§impl Clone for AndroidToolbarMenuItem
impl Clone for AndroidToolbarMenuItem
Auto Trait Implementations§
impl Forget for AndroidToolbarMenuItem
impl Freeze for AndroidToolbarMenuItem
impl Move for AndroidToolbarMenuItem
impl RefUnwindSafe for AndroidToolbarMenuItem
impl Send for AndroidToolbarMenuItemwhere
RawVecInner: Send,
impl Sync for AndroidToolbarMenuItemwhere
RawVecInner: Sync,
impl Unpin for AndroidToolbarMenuItem
impl UnsafeUnpin for AndroidToolbarMenuItem
impl UnwindSafe for AndroidToolbarMenuItemwhere
RawVecInner: UnwindSafe,
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