#[repr(transparent)]pub struct SurfaceCounterFlagsEXT(_);Expand description
Implementations
sourceimpl SurfaceCounterFlagsEXT
impl SurfaceCounterFlagsEXT
pub const fn empty() -> SurfaceCounterFlagsEXT
pub const fn from_raw(x: u32) -> SurfaceCounterFlagsEXT
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: SurfaceCounterFlagsEXT) -> bool
sourcepub const fn contains(self, other: SurfaceCounterFlagsEXT) -> bool
pub const fn contains(self, other: SurfaceCounterFlagsEXT) -> bool
Returns whether other is a subset of self
sourceimpl SurfaceCounterFlagsEXT
impl SurfaceCounterFlagsEXT
pub const VBLANK: SurfaceCounterFlagsEXT = Self(1)
Trait Implementations
sourceimpl BitAnd<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
impl BitAnd<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
type Output = SurfaceCounterFlagsEXT
type Output = SurfaceCounterFlagsEXT
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: SurfaceCounterFlagsEXT) -> SurfaceCounterFlagsEXT
fn bitand(self, rhs: SurfaceCounterFlagsEXT) -> SurfaceCounterFlagsEXT
Performs the & operation. Read more
sourceimpl BitAndAssign<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
impl BitAndAssign<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
sourcefn bitand_assign(&mut self, rhs: SurfaceCounterFlagsEXT)
fn bitand_assign(&mut self, rhs: SurfaceCounterFlagsEXT)
Performs the &= operation. Read more
sourceimpl BitOr<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
impl BitOr<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
type Output = SurfaceCounterFlagsEXT
type Output = SurfaceCounterFlagsEXT
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: SurfaceCounterFlagsEXT) -> SurfaceCounterFlagsEXT
fn bitor(self, rhs: SurfaceCounterFlagsEXT) -> SurfaceCounterFlagsEXT
Performs the | operation. Read more
sourceimpl BitOrAssign<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
impl BitOrAssign<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
sourcefn bitor_assign(&mut self, rhs: SurfaceCounterFlagsEXT)
fn bitor_assign(&mut self, rhs: SurfaceCounterFlagsEXT)
Performs the |= operation. Read more
sourceimpl BitXor<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
impl BitXor<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
type Output = SurfaceCounterFlagsEXT
type Output = SurfaceCounterFlagsEXT
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: SurfaceCounterFlagsEXT) -> SurfaceCounterFlagsEXT
fn bitxor(self, rhs: SurfaceCounterFlagsEXT) -> SurfaceCounterFlagsEXT
Performs the ^ operation. Read more
sourceimpl BitXorAssign<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
impl BitXorAssign<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
sourcefn bitxor_assign(&mut self, rhs: SurfaceCounterFlagsEXT)
fn bitxor_assign(&mut self, rhs: SurfaceCounterFlagsEXT)
Performs the ^= operation. Read more
sourceimpl Clone for SurfaceCounterFlagsEXT
impl Clone for SurfaceCounterFlagsEXT
sourcefn clone(&self) -> SurfaceCounterFlagsEXT
fn clone(&self) -> SurfaceCounterFlagsEXT
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 SurfaceCounterFlagsEXT
impl Debug for SurfaceCounterFlagsEXT
sourceimpl Default for SurfaceCounterFlagsEXT
impl Default for SurfaceCounterFlagsEXT
sourcefn default() -> SurfaceCounterFlagsEXT
fn default() -> SurfaceCounterFlagsEXT
Returns the “default value” for a type. Read more
sourceimpl Hash for SurfaceCounterFlagsEXT
impl Hash for SurfaceCounterFlagsEXT
sourceimpl Not for SurfaceCounterFlagsEXT
impl Not for SurfaceCounterFlagsEXT
type Output = SurfaceCounterFlagsEXT
type Output = SurfaceCounterFlagsEXT
The resulting type after applying the ! operator.
sourcefn not(self) -> SurfaceCounterFlagsEXT
fn not(self) -> SurfaceCounterFlagsEXT
Performs the unary ! operation. Read more
sourceimpl Ord for SurfaceCounterFlagsEXT
impl Ord for SurfaceCounterFlagsEXT
sourceimpl PartialEq<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
impl PartialEq<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
sourcefn eq(&self, other: &SurfaceCounterFlagsEXT) -> bool
fn eq(&self, other: &SurfaceCounterFlagsEXT) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SurfaceCounterFlagsEXT) -> bool
fn ne(&self, other: &SurfaceCounterFlagsEXT) -> bool
This method tests for !=.
sourceimpl PartialOrd<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
impl PartialOrd<SurfaceCounterFlagsEXT> for SurfaceCounterFlagsEXT
sourcefn partial_cmp(&self, other: &SurfaceCounterFlagsEXT) -> Option<Ordering>
fn partial_cmp(&self, other: &SurfaceCounterFlagsEXT) -> 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 SurfaceCounterFlagsEXT
impl Eq for SurfaceCounterFlagsEXT
impl StructuralEq for SurfaceCounterFlagsEXT
impl StructuralPartialEq for SurfaceCounterFlagsEXT
Auto Trait Implementations
impl RefUnwindSafe for SurfaceCounterFlagsEXT
impl Send for SurfaceCounterFlagsEXT
impl Sync for SurfaceCounterFlagsEXT
impl Unpin for SurfaceCounterFlagsEXT
impl UnwindSafe for SurfaceCounterFlagsEXT
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