pub struct BarrierDirections(_);
Implementations
sourceimpl BarrierDirections
impl BarrierDirections
pub const POSITIVE_X: BarrierDirections = Self(1 << 0)
pub const POSITIVE_Y: BarrierDirections = Self(1 << 1)
pub const NEGATIVE_X: BarrierDirections = Self(1 << 2)
pub const NEGATIVE_Y: BarrierDirections = Self(1 << 3)
Trait Implementations
sourceimpl BitOr<BarrierDirections> for BarrierDirections
impl BitOr<BarrierDirections> for BarrierDirections
type Output = BarrierDirections
type Output = BarrierDirections
The resulting type after applying the |
operator.
sourcefn bitor(
self,
other: BarrierDirections
) -> <BarrierDirections as BitOr<BarrierDirections>>::Output
fn bitor(
self,
other: BarrierDirections
) -> <BarrierDirections as BitOr<BarrierDirections>>::Output
Performs the |
operation. Read more
sourceimpl BitOr<u8> for BarrierDirections
impl BitOr<u8> for BarrierDirections
type Output = BarrierDirections
type Output = BarrierDirections
The resulting type after applying the |
operator.
sourceimpl BitOrAssign<u8> for BarrierDirections
impl BitOrAssign<u8> for BarrierDirections
sourcefn bitor_assign(&mut self, other: u8)
fn bitor_assign(&mut self, other: u8)
Performs the |=
operation. Read more
sourceimpl Clone for BarrierDirections
impl Clone for BarrierDirections
sourcefn clone(&self) -> BarrierDirections
fn clone(&self) -> BarrierDirections
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BarrierDirections
impl Debug for BarrierDirections
sourceimpl Default for BarrierDirections
impl Default for BarrierDirections
sourcefn default() -> BarrierDirections
fn default() -> BarrierDirections
Returns the “default value” for a type. Read more
sourceimpl From<u8> for BarrierDirections
impl From<u8> for BarrierDirections
sourcefn from(value: u8) -> BarrierDirections
fn from(value: u8) -> BarrierDirections
Converts to this type from the input type.
sourceimpl Hash for BarrierDirections
impl Hash for BarrierDirections
sourceimpl Ord for BarrierDirections
impl Ord for BarrierDirections
sourceimpl PartialEq<BarrierDirections> for BarrierDirections
impl PartialEq<BarrierDirections> for BarrierDirections
sourcefn eq(&self, other: &BarrierDirections) -> bool
fn eq(&self, other: &BarrierDirections) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BarrierDirections) -> bool
fn ne(&self, other: &BarrierDirections) -> bool
This method tests for !=
.
sourceimpl PartialOrd<BarrierDirections> for BarrierDirections
impl PartialOrd<BarrierDirections> for BarrierDirections
sourcefn partial_cmp(&self, other: &BarrierDirections) -> Option<Ordering>
fn partial_cmp(&self, other: &BarrierDirections) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for BarrierDirections
impl Eq for BarrierDirections
impl StructuralEq for BarrierDirections
impl StructuralPartialEq for BarrierDirections
Auto Trait Implementations
impl RefUnwindSafe for BarrierDirections
impl Send for BarrierDirections
impl Sync for BarrierDirections
impl Unpin for BarrierDirections
impl UnwindSafe for BarrierDirections
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more