[][src]Struct qt_core::QBitRef

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

C++ class: QBitRef.

Methods

impl QBitRef[src]

pub unsafe fn copy_from_q_bit_ref(
    &mut self,
    val: impl CastInto<Ref<QBitRef>>
) -> MutRef<QBitRef>
[src]

Calls C++ function: QBitRef& QBitRef::operator=(const QBitRef& val).

pub unsafe fn copy_from_bool(&mut self, val: bool) -> MutRef<QBitRef>[src]

Calls C++ function: QBitRef& QBitRef::operator=(bool val).

pub unsafe fn new_copy(other: impl CastInto<Ref<QBitRef>>) -> CppBox<QBitRef>[src]

Calls C++ function: [constructor] void QBitRef::QBitRef(const QBitRef& other).

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

Calls C++ function: bool QBitRef::operator bool() const.

Trait Implementations

impl CppDeletable for QBitRef[src]

unsafe fn delete(&mut self)[src]

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

impl<'_> Not for &'_ QBitRef[src]

type Output = bool

The resulting type after applying the ! operator.

fn not(self) -> bool[src]

Calls C++ function: bool QBitRef::operator!() const.

Auto Trait Implementations

impl RefUnwindSafe for QBitRef

impl Send for QBitRef

impl Sync for QBitRef

impl Unpin for QBitRef

impl UnwindSafe for QBitRef

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.