pub struct DisplayPlaneAlphaFlagsKhr { /* private fields */ }Implementations§
Source§impl DisplayPlaneAlphaFlagsKhr
impl DisplayPlaneAlphaFlagsKhr
pub const OPAQUE: DisplayPlaneAlphaFlagsKhr
pub const GLOBAL: DisplayPlaneAlphaFlagsKhr
pub const PER_PIXEL: DisplayPlaneAlphaFlagsKhr
pub const PER_PIXEL_PREMULTIPLIED: DisplayPlaneAlphaFlagsKhr
pub const FLAG_BITS_MAX_ENUM_KHR: DisplayPlaneAlphaFlagsKhr
Sourcepub fn empty() -> DisplayPlaneAlphaFlagsKhr
pub fn empty() -> DisplayPlaneAlphaFlagsKhr
Returns an empty set of flags.
Sourcepub fn all() -> DisplayPlaneAlphaFlagsKhr
pub fn all() -> DisplayPlaneAlphaFlagsKhr
Returns the set containing all flags.
Sourcepub fn from_bits(bits: u32) -> Option<DisplayPlaneAlphaFlagsKhr>
pub fn from_bits(bits: u32) -> Option<DisplayPlaneAlphaFlagsKhr>
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
Sourcepub fn from_bits_truncate(bits: u32) -> DisplayPlaneAlphaFlagsKhr
pub fn from_bits_truncate(bits: u32) -> DisplayPlaneAlphaFlagsKhr
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
Sourcepub fn intersects(&self, other: DisplayPlaneAlphaFlagsKhr) -> bool
pub fn intersects(&self, other: DisplayPlaneAlphaFlagsKhr) -> bool
Returns true if there are flags common to both self and other.
Sourcepub fn contains(&self, other: DisplayPlaneAlphaFlagsKhr) -> bool
pub fn contains(&self, other: DisplayPlaneAlphaFlagsKhr) -> bool
Returns true all of the flags in other are contained within self.
Sourcepub fn insert(&mut self, other: DisplayPlaneAlphaFlagsKhr)
pub fn insert(&mut self, other: DisplayPlaneAlphaFlagsKhr)
Inserts the specified flags in-place.
Sourcepub fn remove(&mut self, other: DisplayPlaneAlphaFlagsKhr)
pub fn remove(&mut self, other: DisplayPlaneAlphaFlagsKhr)
Removes the specified flags in-place.
Sourcepub fn toggle(&mut self, other: DisplayPlaneAlphaFlagsKhr)
pub fn toggle(&mut self, other: DisplayPlaneAlphaFlagsKhr)
Toggles the specified flags in-place.
Sourcepub fn set(&mut self, other: DisplayPlaneAlphaFlagsKhr, value: bool)
pub fn set(&mut self, other: DisplayPlaneAlphaFlagsKhr, value: bool)
Inserts or removes the specified flags depending on the passed value.
Trait Implementations§
Source§impl Binary for DisplayPlaneAlphaFlagsKhr
impl Binary for DisplayPlaneAlphaFlagsKhr
Source§impl BitAnd for DisplayPlaneAlphaFlagsKhr
impl BitAnd for DisplayPlaneAlphaFlagsKhr
Source§fn bitand(self, other: DisplayPlaneAlphaFlagsKhr) -> DisplayPlaneAlphaFlagsKhr
fn bitand(self, other: DisplayPlaneAlphaFlagsKhr) -> DisplayPlaneAlphaFlagsKhr
Returns the intersection between the two sets of flags.
Source§type Output = DisplayPlaneAlphaFlagsKhr
type Output = DisplayPlaneAlphaFlagsKhr
& operator.Source§impl BitAndAssign for DisplayPlaneAlphaFlagsKhr
impl BitAndAssign for DisplayPlaneAlphaFlagsKhr
Source§fn bitand_assign(&mut self, other: DisplayPlaneAlphaFlagsKhr)
fn bitand_assign(&mut self, other: DisplayPlaneAlphaFlagsKhr)
Disables all flags disabled in the set.
Source§impl BitOr for DisplayPlaneAlphaFlagsKhr
impl BitOr for DisplayPlaneAlphaFlagsKhr
Source§fn bitor(self, other: DisplayPlaneAlphaFlagsKhr) -> DisplayPlaneAlphaFlagsKhr
fn bitor(self, other: DisplayPlaneAlphaFlagsKhr) -> DisplayPlaneAlphaFlagsKhr
Returns the union of the two sets of flags.
Source§type Output = DisplayPlaneAlphaFlagsKhr
type Output = DisplayPlaneAlphaFlagsKhr
| operator.Source§impl BitOrAssign for DisplayPlaneAlphaFlagsKhr
impl BitOrAssign for DisplayPlaneAlphaFlagsKhr
Source§fn bitor_assign(&mut self, other: DisplayPlaneAlphaFlagsKhr)
fn bitor_assign(&mut self, other: DisplayPlaneAlphaFlagsKhr)
Adds the set of flags.
Source§impl BitXor for DisplayPlaneAlphaFlagsKhr
impl BitXor for DisplayPlaneAlphaFlagsKhr
Source§fn bitxor(self, other: DisplayPlaneAlphaFlagsKhr) -> DisplayPlaneAlphaFlagsKhr
fn bitxor(self, other: DisplayPlaneAlphaFlagsKhr) -> DisplayPlaneAlphaFlagsKhr
Returns the left flags, but with all the right flags toggled.
Source§type Output = DisplayPlaneAlphaFlagsKhr
type Output = DisplayPlaneAlphaFlagsKhr
^ operator.Source§impl BitXorAssign for DisplayPlaneAlphaFlagsKhr
impl BitXorAssign for DisplayPlaneAlphaFlagsKhr
Source§fn bitxor_assign(&mut self, other: DisplayPlaneAlphaFlagsKhr)
fn bitxor_assign(&mut self, other: DisplayPlaneAlphaFlagsKhr)
Toggles the set of flags.
Source§impl Clone for DisplayPlaneAlphaFlagsKhr
impl Clone for DisplayPlaneAlphaFlagsKhr
Source§fn clone(&self) -> DisplayPlaneAlphaFlagsKhr
fn clone(&self) -> DisplayPlaneAlphaFlagsKhr
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DisplayPlaneAlphaFlagsKhr
impl Debug for DisplayPlaneAlphaFlagsKhr
Source§impl Default for DisplayPlaneAlphaFlagsKhr
impl Default for DisplayPlaneAlphaFlagsKhr
Source§fn default() -> DisplayPlaneAlphaFlagsKhr
fn default() -> DisplayPlaneAlphaFlagsKhr
Source§impl Extend<DisplayPlaneAlphaFlagsKhr> for DisplayPlaneAlphaFlagsKhr
impl Extend<DisplayPlaneAlphaFlagsKhr> for DisplayPlaneAlphaFlagsKhr
Source§fn extend<T: IntoIterator<Item = DisplayPlaneAlphaFlagsKhr>>(
&mut self,
iterator: T,
)
fn extend<T: IntoIterator<Item = DisplayPlaneAlphaFlagsKhr>>( &mut self, iterator: T, )
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one)Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one)Source§impl FromIterator<DisplayPlaneAlphaFlagsKhr> for DisplayPlaneAlphaFlagsKhr
impl FromIterator<DisplayPlaneAlphaFlagsKhr> for DisplayPlaneAlphaFlagsKhr
Source§fn from_iter<T: IntoIterator<Item = DisplayPlaneAlphaFlagsKhr>>(
iterator: T,
) -> DisplayPlaneAlphaFlagsKhr
fn from_iter<T: IntoIterator<Item = DisplayPlaneAlphaFlagsKhr>>( iterator: T, ) -> DisplayPlaneAlphaFlagsKhr
Source§impl Hash for DisplayPlaneAlphaFlagsKhr
impl Hash for DisplayPlaneAlphaFlagsKhr
Source§impl LowerHex for DisplayPlaneAlphaFlagsKhr
impl LowerHex for DisplayPlaneAlphaFlagsKhr
Source§impl Not for DisplayPlaneAlphaFlagsKhr
impl Not for DisplayPlaneAlphaFlagsKhr
Source§fn not(self) -> DisplayPlaneAlphaFlagsKhr
fn not(self) -> DisplayPlaneAlphaFlagsKhr
Returns the complement of this set of flags.
Source§type Output = DisplayPlaneAlphaFlagsKhr
type Output = DisplayPlaneAlphaFlagsKhr
! operator.Source§impl Octal for DisplayPlaneAlphaFlagsKhr
impl Octal for DisplayPlaneAlphaFlagsKhr
Source§impl Ord for DisplayPlaneAlphaFlagsKhr
impl Ord for DisplayPlaneAlphaFlagsKhr
Source§fn cmp(&self, other: &DisplayPlaneAlphaFlagsKhr) -> Ordering
fn cmp(&self, other: &DisplayPlaneAlphaFlagsKhr) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for DisplayPlaneAlphaFlagsKhr
impl PartialOrd for DisplayPlaneAlphaFlagsKhr
Source§impl Sub for DisplayPlaneAlphaFlagsKhr
impl Sub for DisplayPlaneAlphaFlagsKhr
Source§fn sub(self, other: DisplayPlaneAlphaFlagsKhr) -> DisplayPlaneAlphaFlagsKhr
fn sub(self, other: DisplayPlaneAlphaFlagsKhr) -> DisplayPlaneAlphaFlagsKhr
Returns the set difference of the two sets of flags.
Source§type Output = DisplayPlaneAlphaFlagsKhr
type Output = DisplayPlaneAlphaFlagsKhr
- operator.Source§impl SubAssign for DisplayPlaneAlphaFlagsKhr
impl SubAssign for DisplayPlaneAlphaFlagsKhr
Source§fn sub_assign(&mut self, other: DisplayPlaneAlphaFlagsKhr)
fn sub_assign(&mut self, other: DisplayPlaneAlphaFlagsKhr)
Disables all flags enabled in the set.