pub struct PipelineDynamicStateCreateFlags(/* private fields */);Expand description
Implementations§
Source§impl PipelineDynamicStateCreateFlags
impl PipelineDynamicStateCreateFlags
pub const fn empty() -> PipelineDynamicStateCreateFlags
pub const fn all() -> PipelineDynamicStateCreateFlags
pub const fn from_raw(x: u32) -> PipelineDynamicStateCreateFlags
pub const fn as_raw(self) -> u32
pub fn is_empty(self) -> bool
pub fn is_all(self) -> bool
pub fn intersects(self, other: PipelineDynamicStateCreateFlags) -> bool
Sourcepub fn contains(self, other: PipelineDynamicStateCreateFlags) -> bool
pub fn contains(self, other: PipelineDynamicStateCreateFlags) -> bool
Returns whether other is a subset of self
Trait Implementations§
Source§impl BitAnd for PipelineDynamicStateCreateFlags
impl BitAnd for PipelineDynamicStateCreateFlags
Source§type Output = PipelineDynamicStateCreateFlags
type Output = PipelineDynamicStateCreateFlags
The resulting type after applying the
& operator.Source§fn bitand(
self,
rhs: PipelineDynamicStateCreateFlags,
) -> PipelineDynamicStateCreateFlags
fn bitand( self, rhs: PipelineDynamicStateCreateFlags, ) -> PipelineDynamicStateCreateFlags
Performs the
& operation. Read moreSource§impl BitAndAssign for PipelineDynamicStateCreateFlags
impl BitAndAssign for PipelineDynamicStateCreateFlags
Source§fn bitand_assign(&mut self, rhs: PipelineDynamicStateCreateFlags)
fn bitand_assign(&mut self, rhs: PipelineDynamicStateCreateFlags)
Performs the
&= operation. Read moreSource§impl BitOr for PipelineDynamicStateCreateFlags
impl BitOr for PipelineDynamicStateCreateFlags
Source§type Output = PipelineDynamicStateCreateFlags
type Output = PipelineDynamicStateCreateFlags
The resulting type after applying the
| operator.Source§fn bitor(
self,
rhs: PipelineDynamicStateCreateFlags,
) -> PipelineDynamicStateCreateFlags
fn bitor( self, rhs: PipelineDynamicStateCreateFlags, ) -> PipelineDynamicStateCreateFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for PipelineDynamicStateCreateFlags
impl BitOrAssign for PipelineDynamicStateCreateFlags
Source§fn bitor_assign(&mut self, rhs: PipelineDynamicStateCreateFlags)
fn bitor_assign(&mut self, rhs: PipelineDynamicStateCreateFlags)
Performs the
|= operation. Read moreSource§impl BitXor for PipelineDynamicStateCreateFlags
impl BitXor for PipelineDynamicStateCreateFlags
Source§type Output = PipelineDynamicStateCreateFlags
type Output = PipelineDynamicStateCreateFlags
The resulting type after applying the
^ operator.Source§fn bitxor(
self,
rhs: PipelineDynamicStateCreateFlags,
) -> PipelineDynamicStateCreateFlags
fn bitxor( self, rhs: PipelineDynamicStateCreateFlags, ) -> PipelineDynamicStateCreateFlags
Performs the
^ operation. Read moreSource§impl BitXorAssign for PipelineDynamicStateCreateFlags
impl BitXorAssign for PipelineDynamicStateCreateFlags
Source§fn bitxor_assign(&mut self, rhs: PipelineDynamicStateCreateFlags)
fn bitxor_assign(&mut self, rhs: PipelineDynamicStateCreateFlags)
Performs the
^= operation. Read moreSource§impl Clone for PipelineDynamicStateCreateFlags
impl Clone for PipelineDynamicStateCreateFlags
Source§fn clone(&self) -> PipelineDynamicStateCreateFlags
fn clone(&self) -> PipelineDynamicStateCreateFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for PipelineDynamicStateCreateFlags
impl Default for PipelineDynamicStateCreateFlags
Source§fn default() -> PipelineDynamicStateCreateFlags
fn default() -> PipelineDynamicStateCreateFlags
Returns the “default value” for a type. Read more
Source§impl Not for PipelineDynamicStateCreateFlags
impl Not for PipelineDynamicStateCreateFlags
Source§type Output = PipelineDynamicStateCreateFlags
type Output = PipelineDynamicStateCreateFlags
The resulting type after applying the
! operator.Source§fn not(self) -> PipelineDynamicStateCreateFlags
fn not(self) -> PipelineDynamicStateCreateFlags
Performs the unary
! operation. Read moreSource§impl Ord for PipelineDynamicStateCreateFlags
impl Ord for PipelineDynamicStateCreateFlags
Source§fn cmp(&self, other: &PipelineDynamicStateCreateFlags) -> Ordering
fn cmp(&self, other: &PipelineDynamicStateCreateFlags) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PipelineDynamicStateCreateFlags
impl PartialEq for PipelineDynamicStateCreateFlags
Source§fn eq(&self, other: &PipelineDynamicStateCreateFlags) -> bool
fn eq(&self, other: &PipelineDynamicStateCreateFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PipelineDynamicStateCreateFlags
impl PartialOrd for PipelineDynamicStateCreateFlags
Source§impl Sub for PipelineDynamicStateCreateFlags
impl Sub for PipelineDynamicStateCreateFlags
Source§type Output = PipelineDynamicStateCreateFlags
type Output = PipelineDynamicStateCreateFlags
The resulting type after applying the
- operator.Source§fn sub(
self,
rhs: PipelineDynamicStateCreateFlags,
) -> PipelineDynamicStateCreateFlags
fn sub( self, rhs: PipelineDynamicStateCreateFlags, ) -> PipelineDynamicStateCreateFlags
Performs the
- operation. Read moreSource§impl SubAssign for PipelineDynamicStateCreateFlags
impl SubAssign for PipelineDynamicStateCreateFlags
Source§fn sub_assign(&mut self, rhs: PipelineDynamicStateCreateFlags)
fn sub_assign(&mut self, rhs: PipelineDynamicStateCreateFlags)
Performs the
-= operation. Read moreimpl Copy for PipelineDynamicStateCreateFlags
impl Eq for PipelineDynamicStateCreateFlags
impl StructuralPartialEq for PipelineDynamicStateCreateFlags
Auto Trait Implementations§
impl Freeze for PipelineDynamicStateCreateFlags
impl RefUnwindSafe for PipelineDynamicStateCreateFlags
impl Send for PipelineDynamicStateCreateFlags
impl Sync for PipelineDynamicStateCreateFlags
impl Unpin for PipelineDynamicStateCreateFlags
impl UnsafeUnpin for PipelineDynamicStateCreateFlags
impl UnwindSafe for PipelineDynamicStateCreateFlags
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> FilterHaving<T, Here> for Twhere
T: ?Sized,
impl<T> FilterHaving<T, Here> for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.