[][src]Struct breadx::auto::present::Capability

#[repr(transparent)]pub struct Capability {
    pub inner: i32,
}

Fields

inner: i32

Implementations

impl Capability[src]

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

pub fn set_async_(&mut self, val: bool) -> &mut Self[src]

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

pub fn set_fence(&mut self, val: bool) -> &mut Self[src]

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

pub fn set_ust(&mut self, val: bool) -> &mut Self[src]

pub fn new(async_: bool, fence: bool, ust: bool) -> Self[src]

pub fn count_ones(&self) -> usize[src]

Trait Implementations

impl AsByteSequence for Capability[src]

impl BitAnd<Capability> for Capability[src]

type Output = Capability

The resulting type after applying the & operator.

impl Clone for Capability[src]

impl Copy for Capability[src]

impl Debug for Capability[src]

impl Default for Capability[src]

impl Eq for Capability[src]

impl Not for Capability[src]

type Output = Capability

The resulting type after applying the ! operator.

impl Ord for Capability[src]

impl PartialEq<Capability> for Capability[src]

impl PartialOrd<Capability> for Capability[src]

impl StructuralEq for Capability[src]

impl StructuralPartialEq for Capability[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> 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.