pub struct FramebufferCreateFlags(/* private fields */);Expand description
Implementations§
Source§impl FramebufferCreateFlags
impl FramebufferCreateFlags
pub const fn empty() -> FramebufferCreateFlags
pub const fn all() -> FramebufferCreateFlags
pub const fn from_raw(x: u32) -> FramebufferCreateFlags
pub const fn as_raw(self) -> u32
pub fn is_empty(self) -> bool
pub fn is_all(self) -> bool
pub fn intersects(self, other: FramebufferCreateFlags) -> bool
Sourcepub fn contains(self, other: FramebufferCreateFlags) -> bool
pub fn contains(self, other: FramebufferCreateFlags) -> bool
Returns whether other is a subset of self
Source§impl FramebufferCreateFlags
Generated from ‘VK_KHR_imageless_framebuffer’
impl FramebufferCreateFlags
Generated from ‘VK_KHR_imageless_framebuffer’
pub const IMAGELESS_KHR: FramebufferCreateFlags = Self::IMAGELESS
Source§impl FramebufferCreateFlags
Generated from ‘VK_VERSION_1_2’
impl FramebufferCreateFlags
Generated from ‘VK_VERSION_1_2’
pub const IMAGELESS: FramebufferCreateFlags
Trait Implementations§
Source§impl BitAnd for FramebufferCreateFlags
impl BitAnd for FramebufferCreateFlags
Source§type Output = FramebufferCreateFlags
type Output = FramebufferCreateFlags
The resulting type after applying the
& operator.Source§fn bitand(self, rhs: FramebufferCreateFlags) -> FramebufferCreateFlags
fn bitand(self, rhs: FramebufferCreateFlags) -> FramebufferCreateFlags
Performs the
& operation. Read moreSource§impl BitAndAssign for FramebufferCreateFlags
impl BitAndAssign for FramebufferCreateFlags
Source§fn bitand_assign(&mut self, rhs: FramebufferCreateFlags)
fn bitand_assign(&mut self, rhs: FramebufferCreateFlags)
Performs the
&= operation. Read moreSource§impl BitOr for FramebufferCreateFlags
impl BitOr for FramebufferCreateFlags
Source§type Output = FramebufferCreateFlags
type Output = FramebufferCreateFlags
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: FramebufferCreateFlags) -> FramebufferCreateFlags
fn bitor(self, rhs: FramebufferCreateFlags) -> FramebufferCreateFlags
Performs the
| operation. Read moreSource§impl BitOrAssign for FramebufferCreateFlags
impl BitOrAssign for FramebufferCreateFlags
Source§fn bitor_assign(&mut self, rhs: FramebufferCreateFlags)
fn bitor_assign(&mut self, rhs: FramebufferCreateFlags)
Performs the
|= operation. Read moreSource§impl BitXor for FramebufferCreateFlags
impl BitXor for FramebufferCreateFlags
Source§type Output = FramebufferCreateFlags
type Output = FramebufferCreateFlags
The resulting type after applying the
^ operator.Source§fn bitxor(self, rhs: FramebufferCreateFlags) -> FramebufferCreateFlags
fn bitxor(self, rhs: FramebufferCreateFlags) -> FramebufferCreateFlags
Performs the
^ operation. Read moreSource§impl BitXorAssign for FramebufferCreateFlags
impl BitXorAssign for FramebufferCreateFlags
Source§fn bitxor_assign(&mut self, rhs: FramebufferCreateFlags)
fn bitxor_assign(&mut self, rhs: FramebufferCreateFlags)
Performs the
^= operation. Read moreSource§impl Clone for FramebufferCreateFlags
impl Clone for FramebufferCreateFlags
Source§fn clone(&self) -> FramebufferCreateFlags
fn clone(&self) -> FramebufferCreateFlags
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 Debug for FramebufferCreateFlags
impl Debug for FramebufferCreateFlags
Source§impl Default for FramebufferCreateFlags
impl Default for FramebufferCreateFlags
Source§fn default() -> FramebufferCreateFlags
fn default() -> FramebufferCreateFlags
Returns the “default value” for a type. Read more
Source§impl Hash for FramebufferCreateFlags
impl Hash for FramebufferCreateFlags
Source§impl Not for FramebufferCreateFlags
impl Not for FramebufferCreateFlags
Source§type Output = FramebufferCreateFlags
type Output = FramebufferCreateFlags
The resulting type after applying the
! operator.Source§fn not(self) -> FramebufferCreateFlags
fn not(self) -> FramebufferCreateFlags
Performs the unary
! operation. Read moreSource§impl Ord for FramebufferCreateFlags
impl Ord for FramebufferCreateFlags
Source§fn cmp(&self, other: &FramebufferCreateFlags) -> Ordering
fn cmp(&self, other: &FramebufferCreateFlags) -> 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 FramebufferCreateFlags
impl PartialEq for FramebufferCreateFlags
Source§fn eq(&self, other: &FramebufferCreateFlags) -> bool
fn eq(&self, other: &FramebufferCreateFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FramebufferCreateFlags
impl PartialOrd for FramebufferCreateFlags
Source§impl Sub for FramebufferCreateFlags
impl Sub for FramebufferCreateFlags
Source§type Output = FramebufferCreateFlags
type Output = FramebufferCreateFlags
The resulting type after applying the
- operator.Source§fn sub(self, rhs: FramebufferCreateFlags) -> FramebufferCreateFlags
fn sub(self, rhs: FramebufferCreateFlags) -> FramebufferCreateFlags
Performs the
- operation. Read moreSource§impl SubAssign for FramebufferCreateFlags
impl SubAssign for FramebufferCreateFlags
Source§fn sub_assign(&mut self, rhs: FramebufferCreateFlags)
fn sub_assign(&mut self, rhs: FramebufferCreateFlags)
Performs the
-= operation. Read moreimpl Copy for FramebufferCreateFlags
impl Eq for FramebufferCreateFlags
impl StructuralPartialEq for FramebufferCreateFlags
Auto Trait Implementations§
impl Freeze for FramebufferCreateFlags
impl RefUnwindSafe for FramebufferCreateFlags
impl Send for FramebufferCreateFlags
impl Sync for FramebufferCreateFlags
impl Unpin for FramebufferCreateFlags
impl UnsafeUnpin for FramebufferCreateFlags
impl UnwindSafe for FramebufferCreateFlags
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.