[][src]Struct breadx::auto::xv::AttributeFlag

#[repr(transparent)]pub struct AttributeFlag {
    pub inner: u32,
}

Fields

inner: u32

Implementations

impl AttributeFlag[src]

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

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

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

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

pub fn new(gettable: bool, settable: bool) -> Self[src]

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

Trait Implementations

impl AsByteSequence for AttributeFlag[src]

impl BitAnd<AttributeFlag> for AttributeFlag[src]

type Output = AttributeFlag

The resulting type after applying the & operator.

impl Clone for AttributeFlag[src]

impl Copy for AttributeFlag[src]

impl Debug for AttributeFlag[src]

impl Default for AttributeFlag[src]

impl Eq for AttributeFlag[src]

impl Not for AttributeFlag[src]

type Output = AttributeFlag

The resulting type after applying the ! operator.

impl Ord for AttributeFlag[src]

impl PartialEq<AttributeFlag> for AttributeFlag[src]

impl PartialOrd<AttributeFlag> for AttributeFlag[src]

impl StructuralEq for AttributeFlag[src]

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