Struct erupt::vk1_1::ExternalMemoryHandleTypeFlagBits
source · #[repr(transparent)]pub struct ExternalMemoryHandleTypeFlagBits(pub u32);
Expand description
Vulkan Manual Page · Bits enum of ExternalMemoryHandleTypeFlags
Tuple Fields
0: u32
Implementations
sourceimpl ExternalMemoryHandleTypeFlagBits
impl ExternalMemoryHandleTypeFlagBits
pub const ANDROID_HARDWARE_BUFFER_ANDROID: Self = _
sourceimpl ExternalMemoryHandleTypeFlagBits
impl ExternalMemoryHandleTypeFlagBits
Provided by crate::extensions::ext_external_memory_dma_buf
pub const DMA_BUF_EXT: Self = _
sourceimpl ExternalMemoryHandleTypeFlagBits
impl ExternalMemoryHandleTypeFlagBits
Provided by crate::extensions::ext_external_memory_host
pub const HOST_ALLOCATION_EXT: Self = _
pub const HOST_MAPPED_FOREIGN_MEMORY_EXT: Self = _
sourceimpl ExternalMemoryHandleTypeFlagBits
impl ExternalMemoryHandleTypeFlagBits
Provided by crate::extensions::fuchsia_external_memory
pub const ZIRCON_VMO_FUCHSIA: Self = _
sourceimpl ExternalMemoryHandleTypeFlagBits
impl ExternalMemoryHandleTypeFlagBits
pub const OPAQUE_FD_KHR: Self = Self::OPAQUE_FD
pub const OPAQUE_WIN32_KHR: Self = Self::OPAQUE_WIN32
pub const OPAQUE_WIN32_KMT_KHR: Self = Self::OPAQUE_WIN32_KMT
pub const D3D11_TEXTURE_KHR: Self = Self::D3D11_TEXTURE
pub const D3D11_TEXTURE_KMT_KHR: Self = Self::D3D11_TEXTURE_KMT
pub const D3D12_HEAP_KHR: Self = Self::D3D12_HEAP
pub const D3D12_RESOURCE_KHR: Self = Self::D3D12_RESOURCE
sourceimpl ExternalMemoryHandleTypeFlagBits
impl ExternalMemoryHandleTypeFlagBits
Provided by crate::extensions::nv_external_memory_rdma
pub const RDMA_ADDRESS_NV: Self = _
sourceimpl ExternalMemoryHandleTypeFlagBits
impl ExternalMemoryHandleTypeFlagBits
sourcepub const fn bitmask(&self) -> ExternalMemoryHandleTypeFlags
pub const fn bitmask(&self) -> ExternalMemoryHandleTypeFlags
Converts this enum variant to the corresponding bitmask
sourceimpl ExternalMemoryHandleTypeFlagBits
impl ExternalMemoryHandleTypeFlagBits
Provided by crate::vk1_1
pub const OPAQUE_FD: Self = _
pub const OPAQUE_WIN32: Self = _
pub const OPAQUE_WIN32_KMT: Self = _
pub const D3D11_TEXTURE: Self = _
pub const D3D11_TEXTURE_KMT: Self = _
pub const D3D12_HEAP: Self = _
pub const D3D12_RESOURCE: Self = _
Trait Implementations
sourceimpl Clone for ExternalMemoryHandleTypeFlagBits
impl Clone for ExternalMemoryHandleTypeFlagBits
sourcefn clone(&self) -> ExternalMemoryHandleTypeFlagBits
fn clone(&self) -> ExternalMemoryHandleTypeFlagBits
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 Default for ExternalMemoryHandleTypeFlagBits
impl Default for ExternalMemoryHandleTypeFlagBits
sourcefn default() -> ExternalMemoryHandleTypeFlagBits
fn default() -> ExternalMemoryHandleTypeFlagBits
Returns the “default value” for a type. Read more
sourceimpl Ord for ExternalMemoryHandleTypeFlagBits
impl Ord for ExternalMemoryHandleTypeFlagBits
sourcefn cmp(&self, other: &ExternalMemoryHandleTypeFlagBits) -> Ordering
fn cmp(&self, other: &ExternalMemoryHandleTypeFlagBits) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ExternalMemoryHandleTypeFlagBits> for ExternalMemoryHandleTypeFlagBits
impl PartialEq<ExternalMemoryHandleTypeFlagBits> for ExternalMemoryHandleTypeFlagBits
sourcefn eq(&self, other: &ExternalMemoryHandleTypeFlagBits) -> bool
fn eq(&self, other: &ExternalMemoryHandleTypeFlagBits) -> bool
sourceimpl PartialOrd<ExternalMemoryHandleTypeFlagBits> for ExternalMemoryHandleTypeFlagBits
impl PartialOrd<ExternalMemoryHandleTypeFlagBits> for ExternalMemoryHandleTypeFlagBits
sourcefn partial_cmp(
&self,
other: &ExternalMemoryHandleTypeFlagBits
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &ExternalMemoryHandleTypeFlagBits
) -> 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 ExternalMemoryHandleTypeFlagBits
impl Eq for ExternalMemoryHandleTypeFlagBits
impl StructuralEq for ExternalMemoryHandleTypeFlagBits
impl StructuralPartialEq for ExternalMemoryHandleTypeFlagBits
Auto Trait Implementations
impl RefUnwindSafe for ExternalMemoryHandleTypeFlagBits
impl Send for ExternalMemoryHandleTypeFlagBits
impl Sync for ExternalMemoryHandleTypeFlagBits
impl Unpin for ExternalMemoryHandleTypeFlagBits
impl UnwindSafe for ExternalMemoryHandleTypeFlagBits
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