Struct qt_gui::q_context_menu_event::Reason
source · pub struct Reason(/* private fields */);
Expand description
This enum describes the reason why the event was sent.
C++ enum: QContextMenuEvent::Reason
.
This enum describes the reason why the event was sent.
Implementations§
source§impl Reason
impl Reason
sourcepub const Mouse: Reason = _
pub const Mouse: Reason = _
The mouse caused the event to be sent. Normally this means the right mouse button was clicked, but this is platform dependent. (C++ enum variant: Mouse = 0
)
Trait Implementations§
source§impl PartialEq for Reason
impl PartialEq for Reason
impl Copy for Reason
impl Eq for Reason
impl StructuralEq for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnwindSafe for Reason
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