Struct qt_core::q_meta_method::MethodType
source · pub struct MethodType(/* private fields */);
Expand description
C++ enum: QMetaMethod::MethodType
.
Implementations§
source§impl MethodType
impl MethodType
sourcepub const Method: MethodType = _
pub const Method: MethodType = _
The function is a plain member function. (C++ enum variant: Method = 0
)
sourcepub const Signal: MethodType = _
pub const Signal: MethodType = _
The function is a signal. (C++ enum variant: Signal = 1
)
sourcepub const Slot: MethodType = _
pub const Slot: MethodType = _
The function is a slot. (C++ enum variant: Slot = 2
)
sourcepub const Constructor: MethodType = _
pub const Constructor: MethodType = _
The function is a constructor. (C++ enum variant: Constructor = 3
)
Trait Implementations§
source§impl Clone for MethodType
impl Clone for MethodType
source§fn clone(&self) -> MethodType
fn clone(&self) -> MethodType
Returns a copy 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 Debug for MethodType
impl Debug for MethodType
source§impl From<MethodType> for c_int
impl From<MethodType> for c_int
source§fn from(value: MethodType) -> Self
fn from(value: MethodType) -> Self
Converts to this type from the input type.
source§impl From<i32> for MethodType
impl From<i32> for MethodType
source§impl PartialEq for MethodType
impl PartialEq for MethodType
source§fn eq(&self, other: &MethodType) -> bool
fn eq(&self, other: &MethodType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MethodType
impl Eq for MethodType
impl StructuralEq for MethodType
impl StructuralPartialEq for MethodType
Auto Trait Implementations§
impl RefUnwindSafe for MethodType
impl Send for MethodType
impl Sync for MethodType
impl Unpin for MethodType
impl UnwindSafe for MethodType
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