Struct webkit2gtk_webextension::ContextMenuItem [−]
pub struct ContextMenuItem(_, _);
Methods
impl ContextMenuItem
[src]
impl ContextMenuItem
pub fn new_from_stock_action(action: ContextMenuAction) -> ContextMenuItem
[src]
pub fn new_from_stock_action(action: ContextMenuAction) -> ContextMenuItem
pub fn new_from_stock_action_with_label(
action: ContextMenuAction,
label: &str
) -> ContextMenuItem
[src]
pub fn new_from_stock_action_with_label(
action: ContextMenuAction,
label: &str
) -> ContextMenuItem
pub fn new_separator() -> ContextMenuItem
[src]
pub fn new_separator() -> ContextMenuItem
Trait Implementations
impl Clone for ContextMenuItem
impl Clone for ContextMenuItem
fn clone(&self) -> ContextMenuItem
fn clone(&self) -> ContextMenuItem
Returns 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 ContextMenuItem
impl Debug for ContextMenuItem
impl Hash for ContextMenuItem
impl Hash for ContextMenuItem
fn 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 ContextMenuItem
impl StaticType for ContextMenuItem
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for ContextMenuItem
impl<T: IsA<Object>> PartialEq<T> for ContextMenuItem
fn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for ContextMenuItem
impl Eq for ContextMenuItem
impl IsA<Object> for ContextMenuItem
impl IsA<Object> for ContextMenuItem
Auto Trait Implementations
impl !Send for ContextMenuItem
impl !Send for ContextMenuItem
impl !Sync for ContextMenuItem
impl !Sync for ContextMenuItem