pub struct ExternalMemoryHandleTypeFlagBits(/* private fields */);Expand description
Implementations§
Source§impl ExternalMemoryHandleTypeFlagBits
impl ExternalMemoryHandleTypeFlagBits
Sourcepub const OPAQUE_WIN32: Self
pub const OPAQUE_WIN32: Self
Bit 1.
Sourcepub const OPAQUE_WIN32_KMT: Self
pub const OPAQUE_WIN32_KMT: Self
Bit 2.
Sourcepub const D3D11_TEXTURE: Self
pub const D3D11_TEXTURE: Self
Bit 3.
Sourcepub const D3D11_TEXTURE_KMT: Self
pub const D3D11_TEXTURE_KMT: Self
Bit 4.
Sourcepub const D3D12_HEAP: Self
pub const D3D12_HEAP: Self
Bit 5.
Sourcepub const D3D12_RESOURCE: Self
pub const D3D12_RESOURCE: Self
Bit 6.
Sourcepub const ANDROID_HARDWARE_BUFFER_BIT: Self
pub const ANDROID_HARDWARE_BUFFER_BIT: Self
Bit 10.
Sourcepub const HOST_ALLOCATION: Self
pub const HOST_ALLOCATION: Self
Bit 7.
Sourcepub const HOST_MAPPED_FOREIGN_MEMORY: Self
pub const HOST_MAPPED_FOREIGN_MEMORY: Self
Bit 8.
Sourcepub const ZIRCON_VMO_BIT: Self
pub const ZIRCON_VMO_BIT: Self
Bit 11.
Sourcepub const RDMA_ADDRESS: Self
pub const RDMA_ADDRESS: Self
Bit 12.
Sourcepub const OH_NATIVE_BUFFER_BIT: Self
pub const OH_NATIVE_BUFFER_BIT: Self
Bit 15.
Sourcepub const SCREEN_BUFFER_BIT: Self
pub const SCREEN_BUFFER_BIT: Self
Bit 14.
Sourcepub const MTLTEXTURE: Self
pub const MTLTEXTURE: Self
Bit 17.
pub const fn empty() -> Self
pub const fn from_raw(value: u32) -> Self
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn all() -> Self
Trait Implementations§
Source§impl BitAndAssign for ExternalMemoryHandleTypeFlagBits
impl BitAndAssign for ExternalMemoryHandleTypeFlagBits
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for ExternalMemoryHandleTypeFlagBits
impl BitOrAssign for ExternalMemoryHandleTypeFlagBits
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for ExternalMemoryHandleTypeFlagBits
impl BitXorAssign for ExternalMemoryHandleTypeFlagBits
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for ExternalMemoryHandleTypeFlagBits
impl Clone for ExternalMemoryHandleTypeFlagBits
Source§fn clone(&self) -> ExternalMemoryHandleTypeFlagBits
fn clone(&self) -> ExternalMemoryHandleTypeFlagBits
Returns a duplicate 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 Default for ExternalMemoryHandleTypeFlagBits
impl Default for ExternalMemoryHandleTypeFlagBits
Source§fn default() -> ExternalMemoryHandleTypeFlagBits
fn default() -> ExternalMemoryHandleTypeFlagBits
Returns the “default value” for a type. Read more
Source§impl Ord for ExternalMemoryHandleTypeFlagBits
impl Ord for ExternalMemoryHandleTypeFlagBits
Source§fn cmp(&self, other: &ExternalMemoryHandleTypeFlagBits) -> Ordering
fn cmp(&self, other: &ExternalMemoryHandleTypeFlagBits) -> 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 ExternalMemoryHandleTypeFlagBits
impl PartialEq for ExternalMemoryHandleTypeFlagBits
Source§fn eq(&self, other: &ExternalMemoryHandleTypeFlagBits) -> bool
fn eq(&self, other: &ExternalMemoryHandleTypeFlagBits) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ExternalMemoryHandleTypeFlagBits
impl PartialOrd for ExternalMemoryHandleTypeFlagBits
impl Copy for ExternalMemoryHandleTypeFlagBits
impl Eq for ExternalMemoryHandleTypeFlagBits
impl StructuralPartialEq for ExternalMemoryHandleTypeFlagBits
Auto Trait Implementations§
impl Freeze for ExternalMemoryHandleTypeFlagBits
impl RefUnwindSafe for ExternalMemoryHandleTypeFlagBits
impl Send for ExternalMemoryHandleTypeFlagBits
impl Sync for ExternalMemoryHandleTypeFlagBits
impl Unpin for ExternalMemoryHandleTypeFlagBits
impl UnsafeUnpin for ExternalMemoryHandleTypeFlagBits
impl UnwindSafe for ExternalMemoryHandleTypeFlagBits
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