pub struct MenuButtonPressedLock(/* private fields */);Expand description
See _cef_menu_button_pressed_lock_t for more documentation.
Trait Implementations§
Source§impl Clone for MenuButtonPressedLock
impl Clone for MenuButtonPressedLock
Source§fn clone(&self) -> MenuButtonPressedLock
fn clone(&self) -> MenuButtonPressedLock
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 morefn into_raw(self) -> *mut _cef_menu_button_pressed_lock_t
fn into_raw(self) -> *mut _cef_menu_button_pressed_lock_t
fn wrap_result(self) -> MenuButtonPressedLock
Source§fn from(value: MenuButtonPressedLock) -> Self
fn from(value: MenuButtonPressedLock) -> Self
Converts to this type from the input type.
Source§impl ImplMenuButtonPressedLock for MenuButtonPressedLock
impl ImplMenuButtonPressedLock for MenuButtonPressedLock
fn get_raw(&self) -> *mut _cef_menu_button_pressed_lock_t
Source§impl Rc for MenuButtonPressedLock
impl Rc for MenuButtonPressedLock
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for MenuButtonPressedLock
impl RefUnwindSafe for MenuButtonPressedLock
impl Send for MenuButtonPressedLock
impl Sync for MenuButtonPressedLock
impl Unpin for MenuButtonPressedLock
impl UnwindSafe for MenuButtonPressedLock
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