[][src]Struct ash::vk::ExternalMemoryHandleTypeFlags

#[repr(transparent)]
pub struct ExternalMemoryHandleTypeFlags(_);

https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VkExternalMemoryHandleTypeFlagBits.html

Methods

impl ExternalMemoryHandleTypeFlags[src]

pub fn empty() -> ExternalMemoryHandleTypeFlags[src]

pub fn all() -> ExternalMemoryHandleTypeFlags[src]

pub fn from_raw(x: Flags) -> Self[src]

pub fn as_raw(self) -> Flags[src]

pub fn is_empty(self) -> bool[src]

pub fn is_all(self) -> bool[src]

pub fn intersects(self, other: ExternalMemoryHandleTypeFlags) -> bool[src]

pub fn contains(self, other: ExternalMemoryHandleTypeFlags) -> bool[src]

Returns whether other is a subset of self

impl ExternalMemoryHandleTypeFlags[src]

pub const EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD: Self[src]

pub const EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32: Self[src]

pub const EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT: Self[src]

pub const EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE: Self[src]

pub const EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT: Self[src]

pub const EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP: Self[src]

pub const EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE: Self[src]

impl ExternalMemoryHandleTypeFlags[src]

Generated from 'VK_EXT_external_memory_dma_buf'

pub const EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF: Self[src]

impl ExternalMemoryHandleTypeFlags[src]

Generated from 'VK_ANDROID_external_memory_android_hardware_buffer'

pub const EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_ANDROID: Self[src]

impl ExternalMemoryHandleTypeFlags[src]

Generated from 'VK_EXT_external_memory_host'

pub const EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION: Self[src]

impl ExternalMemoryHandleTypeFlags[src]

Generated from 'VK_EXT_external_memory_host'

pub const EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY: Self[src]

Trait Implementations

impl Copy for ExternalMemoryHandleTypeFlags[src]

impl Default for ExternalMemoryHandleTypeFlags[src]

impl Eq for ExternalMemoryHandleTypeFlags[src]

impl Clone for ExternalMemoryHandleTypeFlags[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialOrd<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags[src]

impl PartialEq<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags[src]

impl Ord for ExternalMemoryHandleTypeFlags[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Hash for ExternalMemoryHandleTypeFlags[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for ExternalMemoryHandleTypeFlags[src]

impl Sub<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags[src]

type Output = ExternalMemoryHandleTypeFlags

The resulting type after applying the - operator.

impl SubAssign<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags[src]

impl Not for ExternalMemoryHandleTypeFlags[src]

type Output = ExternalMemoryHandleTypeFlags

The resulting type after applying the ! operator.

impl BitAnd<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags[src]

type Output = ExternalMemoryHandleTypeFlags

The resulting type after applying the & operator.

impl BitOr<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags[src]

type Output = ExternalMemoryHandleTypeFlags

The resulting type after applying the | operator.

impl BitXor<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags[src]

type Output = ExternalMemoryHandleTypeFlags

The resulting type after applying the ^ operator.

impl BitAndAssign<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags[src]

impl BitOrAssign<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags[src]

impl BitXorAssign<ExternalMemoryHandleTypeFlags> for ExternalMemoryHandleTypeFlags[src]

Auto Trait Implementations

impl Unpin for ExternalMemoryHandleTypeFlags

impl Sync for ExternalMemoryHandleTypeFlags

impl Send for ExternalMemoryHandleTypeFlags

impl UnwindSafe for ExternalMemoryHandleTypeFlags

impl RefUnwindSafe for ExternalMemoryHandleTypeFlags

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]