[][src]Struct qt_core::QBasicMutex

#[repr(C)]pub struct QBasicMutex { /* fields omitted */ }

C++ class: QBasicMutex.

Methods

impl QBasicMutex[src]

pub unsafe fn is_recursive_mut(&self) -> bool[src]

Calls C++ function: bool QBasicMutex::isRecursive().

pub unsafe fn is_recursive(&self) -> bool[src]

Calls C++ function: bool QBasicMutex::isRecursive() const.

pub unsafe fn lock(&self)[src]

Calls C++ function: void QBasicMutex::lock().

pub unsafe fn new() -> CppBox<QBasicMutex>[src]

Calls C++ function: [constructor] void QBasicMutex::QBasicMutex().

pub unsafe fn try_lock(&self) -> bool[src]

Calls C++ function: bool QBasicMutex::tryLock().

pub unsafe fn try_lock2(&self) -> bool[src]

Calls C++ function: bool QBasicMutex::try_lock().

pub unsafe fn unlock(&self)[src]

Calls C++ function: void QBasicMutex::unlock().

Trait Implementations

impl CppDeletable for QBasicMutex[src]

unsafe fn delete(&self)[src]

Calls C++ function: [destructor] void QBasicMutex::~QBasicMutex().

impl StaticDowncast<QMutex> for QBasicMutex[src]

unsafe fn static_downcast(ptr: Ptr<QBasicMutex>) -> Ptr<QMutex>[src]

Calls C++ function: QMutex* static_cast<QMutex*>(QBasicMutex* ptr).

impl StaticUpcast<QBasicMutex> for QMutex[src]

unsafe fn static_upcast(ptr: Ptr<QMutex>) -> Ptr<QBasicMutex>[src]

Calls C++ function: QBasicMutex* static_cast<QBasicMutex*>(QMutex* ptr).

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, 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.