pub struct MenuBarEntry {
pub path: String,
pub command: String,
}Fields§
§path: StringSlash-separated path like "File > Send via Slack".
command: StringTrait Implementations§
Source§impl Clone for MenuBarEntry
impl Clone for MenuBarEntry
Source§fn clone(&self) -> MenuBarEntry
fn clone(&self) -> MenuBarEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MenuBarEntry
impl Debug for MenuBarEntry
Auto Trait Implementations§
impl Freeze for MenuBarEntry
impl RefUnwindSafe for MenuBarEntry
impl Send for MenuBarEntry
impl Sync for MenuBarEntry
impl Unpin for MenuBarEntry
impl UnsafeUnpin for MenuBarEntry
impl UnwindSafe for MenuBarEntry
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