Struct qt_core::q_deadline_timer::ForeverConstant
source · pub struct ForeverConstant(/* private fields */);
Expand description
C++ enum: QDeadlineTimer::ForeverConstant
.
Implementations§
source§impl ForeverConstant
impl ForeverConstant
sourcepub const Forever: ForeverConstant = _
pub const Forever: ForeverConstant = _
Used when creating a QDeadlineTimer to indicate the deadline should not expire (C++ enum variant: Forever = 0
)
Trait Implementations§
source§impl Clone for ForeverConstant
impl Clone for ForeverConstant
source§fn clone(&self) -> ForeverConstant
fn clone(&self) -> ForeverConstant
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 ForeverConstant
impl Debug for ForeverConstant
source§impl From<ForeverConstant> for c_int
impl From<ForeverConstant> for c_int
source§fn from(value: ForeverConstant) -> Self
fn from(value: ForeverConstant) -> Self
Converts to this type from the input type.
source§impl From<i32> for ForeverConstant
impl From<i32> for ForeverConstant
source§impl PartialEq for ForeverConstant
impl PartialEq for ForeverConstant
source§fn eq(&self, other: &ForeverConstant) -> bool
fn eq(&self, other: &ForeverConstant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ForeverConstant
impl Eq for ForeverConstant
impl StructuralEq for ForeverConstant
impl StructuralPartialEq for ForeverConstant
Auto Trait Implementations§
impl RefUnwindSafe for ForeverConstant
impl Send for ForeverConstant
impl Sync for ForeverConstant
impl Unpin for ForeverConstant
impl UnwindSafe for ForeverConstant
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