pub struct SendMenuItem<'a> {
pub command: &'a str,
pub label: &'a str,
}Expand description
This struct is created by Send::menu. See its documentation for more.
Fields§
§command: &'a strCommand to send.
label: &'a strLabel to display.
Trait Implementations§
Source§impl<'a> Clone for SendMenuItem<'a>
impl<'a> Clone for SendMenuItem<'a>
Source§fn clone(&self) -> SendMenuItem<'a>
fn clone(&self) -> SendMenuItem<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SendMenuItem<'a>
impl<'a> Debug for SendMenuItem<'a>
Source§impl<'a> Default for SendMenuItem<'a>
impl<'a> Default for SendMenuItem<'a>
Source§fn default() -> SendMenuItem<'a>
fn default() -> SendMenuItem<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> PartialEq for SendMenuItem<'a>
impl<'a> PartialEq for SendMenuItem<'a>
impl<'a> Copy for SendMenuItem<'a>
impl<'a> Eq for SendMenuItem<'a>
impl<'a> StructuralPartialEq for SendMenuItem<'a>
Auto Trait Implementations§
impl<'a> Freeze for SendMenuItem<'a>
impl<'a> RefUnwindSafe for SendMenuItem<'a>
impl<'a> Send for SendMenuItem<'a>
impl<'a> Sync for SendMenuItem<'a>
impl<'a> Unpin for SendMenuItem<'a>
impl<'a> UnsafeUnpin for SendMenuItem<'a>
impl<'a> UnwindSafe for SendMenuItem<'a>
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