#[repr(transparent)]pub struct ExternalMemoryHandleTypeFlags(_);Expand description
Implementations
sourceimpl ExternalMemoryHandleTypeFlags
impl ExternalMemoryHandleTypeFlags
pub const fn empty() -> ExternalMemoryHandleTypeFlags
pub const fn from_raw(x: u32) -> ExternalMemoryHandleTypeFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: ExternalMemoryHandleTypeFlags) -> bool
sourcepub const fn contains(self, other: ExternalMemoryHandleTypeFlags) -> bool
pub const fn contains(self, other: ExternalMemoryHandleTypeFlags) -> bool
Returns whether other is a subset of self
sourceimpl ExternalMemoryHandleTypeFlags
impl ExternalMemoryHandleTypeFlags
pub const OPAQUE_FD: ExternalMemoryHandleTypeFlags = Self(1)
pub const OPAQUE_WIN32: ExternalMemoryHandleTypeFlags = Self(2)
pub const OPAQUE_WIN32_KMT: ExternalMemoryHandleTypeFlags = Self(4)
pub const D3D11_TEXTURE: ExternalMemoryHandleTypeFlags = Self(8)
pub const D3D11_TEXTURE_KMT: ExternalMemoryHandleTypeFlags = Self(16)
pub const D3D12_HEAP: ExternalMemoryHandleTypeFlags = Self(32)
pub const D3D12_RESOURCE: ExternalMemoryHandleTypeFlags = Self(64)
sourceimpl ExternalMemoryHandleTypeFlags
impl ExternalMemoryHandleTypeFlags
Generated from ‘VK_KHR_external_memory_capabilities’
pub const OPAQUE_FD_KHR: ExternalMemoryHandleTypeFlags = Self::OPAQUE_FD
pub const OPAQUE_WIN32_KHR: ExternalMemoryHandleTypeFlags = Self::OPAQUE_WIN32
pub const OPAQUE_WIN32_KMT_KHR: ExternalMemoryHandleTypeFlags = Self::OPAQUE_WIN32_KMT
pub const D3D11_TEXTURE_KHR: ExternalMemoryHandleTypeFlags = Self::D3D11_TEXTURE
pub const D3D11_TEXTURE_KMT_KHR: ExternalMemoryHandleTypeFlags = Self::D3D11_TEXTURE_KMT
pub const D3D12_HEAP_KHR: ExternalMemoryHandleTypeFlags = Self::D3D12_HEAP
pub const D3D12_RESOURCE_KHR: ExternalMemoryHandleTypeFlags = Self::D3D12_RESOURCE
sourceimpl ExternalMemoryHandleTypeFlags
impl ExternalMemoryHandleTypeFlags
Generated from ‘VK_EXT_external_memory_dma_buf’
pub const DMA_BUF_EXT: ExternalMemoryHandleTypeFlags = Self(512)
sourceimpl ExternalMemoryHandleTypeFlags
impl ExternalMemoryHandleTypeFlags
Generated from ‘VK_ANDROID_external_memory_android_hardware_buffer’
pub const ANDROID_HARDWARE_BUFFER_ANDROID: ExternalMemoryHandleTypeFlags = Self(1024)
sourceimpl ExternalMemoryHandleTypeFlags
impl ExternalMemoryHandleTypeFlags
Generated from ‘VK_EXT_external_memory_host’
pub const HOST_ALLOCATION_EXT: ExternalMemoryHandleTypeFlags = Self(128)
pub const HOST_MAPPED_FOREIGN_MEMORY_EXT: ExternalMemoryHandleTypeFlags = Self(256)
sourceimpl ExternalMemoryHandleTypeFlags
impl ExternalMemoryHandleTypeFlags
Generated from ‘VK_FUCHSIA_external_memory’
pub const ZIRCON_VMO_FUCHSIA: ExternalMemoryHandleTypeFlags = Self(2048)
sourceimpl ExternalMemoryHandleTypeFlags
impl ExternalMemoryHandleTypeFlags
Generated from ‘VK_NV_external_memory_rdma’
pub const RDMA_ADDRESS_NV: ExternalMemoryHandleTypeFlags = Self(4096)
sourceimpl ExternalMemoryHandleTypeFlags
impl ExternalMemoryHandleTypeFlags
Generated from ‘VK_NV_extension_375’
pub const RESERVED_13_NV: ExternalMemoryHandleTypeFlags = Self(8192)
Trait Implementations
sourceimpl BitAnd<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
impl BitAnd<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
type Output = ExternalMemoryHandleTypeFlags
type Output = ExternalMemoryHandleTypeFlags
The resulting type after applying the
& operator.sourcefn bitand(
self,
rhs: ExternalMemoryHandleTypeFlags
) -> ExternalMemoryHandleTypeFlags
fn bitand(
self,
rhs: ExternalMemoryHandleTypeFlags
) -> ExternalMemoryHandleTypeFlags
Performs the
& operation. Read moresourceimpl BitAndAssign<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
impl BitAndAssign<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
sourcefn bitand_assign(&mut self, rhs: ExternalMemoryHandleTypeFlags)
fn bitand_assign(&mut self, rhs: ExternalMemoryHandleTypeFlags)
Performs the
&= operation. Read moresourceimpl BitOr<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
impl BitOr<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
type Output = ExternalMemoryHandleTypeFlags
type Output = ExternalMemoryHandleTypeFlags
The resulting type after applying the
| operator.sourcefn bitor(
self,
rhs: ExternalMemoryHandleTypeFlags
) -> ExternalMemoryHandleTypeFlags
fn bitor(
self,
rhs: ExternalMemoryHandleTypeFlags
) -> ExternalMemoryHandleTypeFlags
Performs the
| operation. Read moresourceimpl BitOrAssign<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
impl BitOrAssign<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
sourcefn bitor_assign(&mut self, rhs: ExternalMemoryHandleTypeFlags)
fn bitor_assign(&mut self, rhs: ExternalMemoryHandleTypeFlags)
Performs the
|= operation. Read moresourceimpl BitXor<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
impl BitXor<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
type Output = ExternalMemoryHandleTypeFlags
type Output = ExternalMemoryHandleTypeFlags
The resulting type after applying the
^ operator.sourcefn bitxor(
self,
rhs: ExternalMemoryHandleTypeFlags
) -> ExternalMemoryHandleTypeFlags
fn bitxor(
self,
rhs: ExternalMemoryHandleTypeFlags
) -> ExternalMemoryHandleTypeFlags
Performs the
^ operation. Read moresourceimpl BitXorAssign<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
impl BitXorAssign<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
sourcefn bitxor_assign(&mut self, rhs: ExternalMemoryHandleTypeFlags)
fn bitxor_assign(&mut self, rhs: ExternalMemoryHandleTypeFlags)
Performs the
^= operation. Read moresourceimpl Clone for ExternalMemoryHandleTypeFlags
impl Clone for ExternalMemoryHandleTypeFlags
sourcefn clone(&self) -> ExternalMemoryHandleTypeFlags
fn clone(&self) -> ExternalMemoryHandleTypeFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ExternalMemoryHandleTypeFlags
impl Debug for ExternalMemoryHandleTypeFlags
sourceimpl Default for ExternalMemoryHandleTypeFlags
impl Default for ExternalMemoryHandleTypeFlags
sourcefn default() -> ExternalMemoryHandleTypeFlags
fn default() -> ExternalMemoryHandleTypeFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for ExternalMemoryHandleTypeFlags
impl Hash for ExternalMemoryHandleTypeFlags
sourceimpl Not for ExternalMemoryHandleTypeFlags
impl Not for ExternalMemoryHandleTypeFlags
type Output = ExternalMemoryHandleTypeFlags
type Output = ExternalMemoryHandleTypeFlags
The resulting type after applying the
! operator.sourcefn not(self) -> ExternalMemoryHandleTypeFlags
fn not(self) -> ExternalMemoryHandleTypeFlags
Performs the unary
! operation. Read moresourceimpl Ord for ExternalMemoryHandleTypeFlags
impl Ord for ExternalMemoryHandleTypeFlags
sourcefn cmp(&self, other: &ExternalMemoryHandleTypeFlags) -> Ordering
fn cmp(&self, other: &ExternalMemoryHandleTypeFlags) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
impl PartialEq<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
sourcefn eq(&self, other: &ExternalMemoryHandleTypeFlags) -> bool
fn eq(&self, other: &ExternalMemoryHandleTypeFlags) -> bool
sourceimpl PartialOrd<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
impl PartialOrd<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags
sourcefn partial_cmp(&self, other: &ExternalMemoryHandleTypeFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &ExternalMemoryHandleTypeFlags) -> Option<Ordering>
1.0.0 · sourcefn 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 ExternalMemoryHandleTypeFlags
impl Eq for ExternalMemoryHandleTypeFlags
impl StructuralEq for ExternalMemoryHandleTypeFlags
impl StructuralPartialEq for ExternalMemoryHandleTypeFlags
Auto Trait Implementations
impl RefUnwindSafe for ExternalMemoryHandleTypeFlags
impl Send for ExternalMemoryHandleTypeFlags
impl Sync for ExternalMemoryHandleTypeFlags
impl Unpin for ExternalMemoryHandleTypeFlags
impl UnwindSafe for ExternalMemoryHandleTypeFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more