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