Struct screen_13::prelude::vk::ExternalMemoryFeatureFlags
source · pub struct ExternalMemoryFeatureFlags(/* private fields */);
Expand description
Implementations§
source§impl ExternalMemoryFeatureFlags
impl ExternalMemoryFeatureFlags
pub const fn empty() -> ExternalMemoryFeatureFlags
pub const fn from_raw(x: u32) -> ExternalMemoryFeatureFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: ExternalMemoryFeatureFlags) -> bool
sourcepub const fn contains(self, other: ExternalMemoryFeatureFlags) -> bool
pub const fn contains(self, other: ExternalMemoryFeatureFlags) -> bool
Returns whether other
is a subset of self
source§impl ExternalMemoryFeatureFlags
impl ExternalMemoryFeatureFlags
pub const DEDICATED_ONLY: ExternalMemoryFeatureFlags = _
pub const EXPORTABLE: ExternalMemoryFeatureFlags = _
pub const IMPORTABLE: ExternalMemoryFeatureFlags = _
source§impl ExternalMemoryFeatureFlags
impl ExternalMemoryFeatureFlags
Generated from ‘VK_KHR_external_memory_capabilities’
pub const DEDICATED_ONLY_KHR: ExternalMemoryFeatureFlags = Self::DEDICATED_ONLY
pub const EXPORTABLE_KHR: ExternalMemoryFeatureFlags = Self::EXPORTABLE
pub const IMPORTABLE_KHR: ExternalMemoryFeatureFlags = Self::IMPORTABLE
Trait Implementations§
source§impl BitAnd for ExternalMemoryFeatureFlags
impl BitAnd for ExternalMemoryFeatureFlags
§type Output = ExternalMemoryFeatureFlags
type Output = ExternalMemoryFeatureFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: ExternalMemoryFeatureFlags) -> ExternalMemoryFeatureFlags
fn bitand(self, rhs: ExternalMemoryFeatureFlags) -> ExternalMemoryFeatureFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for ExternalMemoryFeatureFlags
impl BitAndAssign for ExternalMemoryFeatureFlags
source§fn bitand_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
fn bitand_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
Performs the
&=
operation. Read moresource§impl BitOr for ExternalMemoryFeatureFlags
impl BitOr for ExternalMemoryFeatureFlags
§type Output = ExternalMemoryFeatureFlags
type Output = ExternalMemoryFeatureFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: ExternalMemoryFeatureFlags) -> ExternalMemoryFeatureFlags
fn bitor(self, rhs: ExternalMemoryFeatureFlags) -> ExternalMemoryFeatureFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for ExternalMemoryFeatureFlags
impl BitOrAssign for ExternalMemoryFeatureFlags
source§fn bitor_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
fn bitor_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
Performs the
|=
operation. Read moresource§impl BitXor for ExternalMemoryFeatureFlags
impl BitXor for ExternalMemoryFeatureFlags
§type Output = ExternalMemoryFeatureFlags
type Output = ExternalMemoryFeatureFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: ExternalMemoryFeatureFlags) -> ExternalMemoryFeatureFlags
fn bitxor(self, rhs: ExternalMemoryFeatureFlags) -> ExternalMemoryFeatureFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for ExternalMemoryFeatureFlags
impl BitXorAssign for ExternalMemoryFeatureFlags
source§fn bitxor_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
fn bitxor_assign(&mut self, rhs: ExternalMemoryFeatureFlags)
Performs the
^=
operation. Read moresource§impl Clone for ExternalMemoryFeatureFlags
impl Clone for ExternalMemoryFeatureFlags
source§fn clone(&self) -> ExternalMemoryFeatureFlags
fn clone(&self) -> ExternalMemoryFeatureFlags
Returns a copy of the value. Read more
1.0.0 · 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 ExternalMemoryFeatureFlags
impl Debug for ExternalMemoryFeatureFlags
source§impl Default for ExternalMemoryFeatureFlags
impl Default for ExternalMemoryFeatureFlags
source§fn default() -> ExternalMemoryFeatureFlags
fn default() -> ExternalMemoryFeatureFlags
Returns the “default value” for a type. Read more
source§impl Hash for ExternalMemoryFeatureFlags
impl Hash for ExternalMemoryFeatureFlags
source§impl Not for ExternalMemoryFeatureFlags
impl Not for ExternalMemoryFeatureFlags
§type Output = ExternalMemoryFeatureFlags
type Output = ExternalMemoryFeatureFlags
The resulting type after applying the
!
operator.source§fn not(self) -> ExternalMemoryFeatureFlags
fn not(self) -> ExternalMemoryFeatureFlags
Performs the unary
!
operation. Read moresource§impl Ord for ExternalMemoryFeatureFlags
impl Ord for ExternalMemoryFeatureFlags
source§fn cmp(&self, other: &ExternalMemoryFeatureFlags) -> Ordering
fn cmp(&self, other: &ExternalMemoryFeatureFlags) -> Ordering
1.21.0 · 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 ExternalMemoryFeatureFlags
impl PartialEq for ExternalMemoryFeatureFlags
source§fn eq(&self, other: &ExternalMemoryFeatureFlags) -> bool
fn eq(&self, other: &ExternalMemoryFeatureFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ExternalMemoryFeatureFlags
impl PartialOrd for ExternalMemoryFeatureFlags
source§fn partial_cmp(&self, other: &ExternalMemoryFeatureFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ExternalMemoryFeatureFlags) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for ExternalMemoryFeatureFlags
impl Eq for ExternalMemoryFeatureFlags
impl StructuralPartialEq for ExternalMemoryFeatureFlags
Auto Trait Implementations§
impl RefUnwindSafe for ExternalMemoryFeatureFlags
impl Send for ExternalMemoryFeatureFlags
impl Sync for ExternalMemoryFeatureFlags
impl Unpin for ExternalMemoryFeatureFlags
impl UnwindSafe for ExternalMemoryFeatureFlags
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§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
.§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
.§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.§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.