Struct gio::MenuItem [−]
pub struct MenuItem(_, _);
Methods
impl MenuItem[src]
impl MenuItempub fn new<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b str>>>(
label: P,
detailed_action: Q
) -> MenuItem[src]
pub fn new<'a, 'b, P: Into<Option<&'a str>>, Q: Into<Option<&'b str>>>(
label: P,
detailed_action: Q
) -> MenuItempub fn new_section<'a, P: Into<Option<&'a str>>, Q: IsA<MenuModel>>(
label: P,
section: &Q
) -> MenuItem[src]
pub fn new_section<'a, P: Into<Option<&'a str>>, Q: IsA<MenuModel>>(
label: P,
section: &Q
) -> MenuItemTrait Implementations
impl Clone for MenuItem
impl Clone for MenuItemfn clone(&self) -> MenuItem
fn clone(&self) -> MenuItemReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for MenuItem
impl Debug for MenuItemimpl Hash for MenuItem
impl Hash for MenuItemfn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl StaticType for MenuItem
impl StaticType for MenuItemfn static_type() -> Type
fn static_type() -> TypeReturns the type identifier of Self.
impl<T: IsA<Object>> PartialEq<T> for MenuItem
impl<T: IsA<Object>> PartialEq<T> for MenuItemfn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for MenuItem
impl Eq for MenuItemimpl IsA<Object> for MenuItem
impl IsA<Object> for MenuItem