[][src]Enum dqcsim::bindings::dqcs_bool_return_t

#[repr(C)]pub enum dqcs_bool_return_t {
    DQCS_BOOL_FAILURE,
    DQCS_FALSE,
    DQCS_TRUE,
}

Return type for functions that normally return a boolean but can also fail.

Variants

DQCS_BOOL_FAILURE

The function has failed. More information may be obtained through dqcsim_explain().

DQCS_FALSE

The function did what it was supposed to and returned false.

DQCS_TRUE

The function did what it was supposed to and returned true.

Trait Implementations

impl Clone for dqcs_bool_return_t[src]

impl Copy for dqcs_bool_return_t[src]

impl Debug for dqcs_bool_return_t[src]

impl From<bool> for dqcs_bool_return_t[src]

impl PartialEq<dqcs_bool_return_t> for dqcs_bool_return_t[src]

impl StructuralPartialEq for dqcs_bool_return_t[src]

Auto Trait Implementations

impl RefUnwindSafe for dqcs_bool_return_t

impl Send for dqcs_bool_return_t

impl Sync for dqcs_bool_return_t

impl Unpin for dqcs_bool_return_t

impl UnwindSafe for dqcs_bool_return_t

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,