[][src]Struct breadx::auto::xfixes::BarrierDirections

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

Fields

inner: u32

Implementations

impl BarrierDirections[src]

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

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

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

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

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

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

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

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

pub fn new(
    positive_x: bool,
    positive_y: bool,
    negative_x: bool,
    negative_y: bool
) -> Self
[src]

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

Trait Implementations

impl AsByteSequence for BarrierDirections[src]

impl BitAnd<BarrierDirections> for BarrierDirections[src]

type Output = BarrierDirections

The resulting type after applying the & operator.

impl Clone for BarrierDirections[src]

impl Copy for BarrierDirections[src]

impl Debug for BarrierDirections[src]

impl Default for BarrierDirections[src]

impl Eq for BarrierDirections[src]

impl Not for BarrierDirections[src]

type Output = BarrierDirections

The resulting type after applying the ! operator.

impl Ord for BarrierDirections[src]

impl PartialEq<BarrierDirections> for BarrierDirections[src]

impl PartialOrd<BarrierDirections> for BarrierDirections[src]

impl StructuralEq for BarrierDirections[src]

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