[][src]Struct qt_core::q_mutex::RecursionMode

#[repr(transparent)]pub struct RecursionMode(_);

See also QMutex().

C++ enum: QMutex::RecursionMode.

C++ documentation:

See also QMutex().

Methods

impl RecursionMode[src]

pub fn to_int(&self) -> c_int[src]

impl RecursionMode[src]

pub const NonRecursive: RecursionMode[src]

In this mode, a thread may only lock a mutex once. (C++ enum variant: NonRecursive = 0)

pub const Recursive: RecursionMode[src]

In this mode, a thread can lock the same mutex multiple times and the mutex won't be unlocked until a corresponding number of unlock() calls have been made. (C++ enum variant: Recursive = 1)

Trait Implementations

impl Clone for RecursionMode[src]

impl Copy for RecursionMode[src]

impl Debug for RecursionMode[src]

impl Eq for RecursionMode[src]

impl From<RecursionMode> for c_int[src]

impl From<i32> for RecursionMode[src]

impl PartialEq<RecursionMode> for RecursionMode[src]

impl StructuralEq for RecursionMode[src]

impl StructuralPartialEq for RecursionMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.