[][src]Struct ash::vk::BufferCreateFlags

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

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

Methods

impl BufferCreateFlags[src]

pub fn empty() -> BufferCreateFlags[src]

pub fn all() -> BufferCreateFlags[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: BufferCreateFlags) -> bool[src]

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

Returns whether other is a subset of self

impl BufferCreateFlags[src]

pub const SPARSE_BINDING: Self[src]

Buffer should support sparse backing

pub const SPARSE_RESIDENCY: Self[src]

Buffer should support sparse backing with partial residency

pub const SPARSE_ALIASED: Self[src]

Buffer should support constent data access to physical memory ranges mapped into multiple locations of sparse buffers

impl BufferCreateFlags[src]

Generated from 'VK_EXT_buffer_device_address'

pub const DEVICE_ADDRESS_CAPTURE_REPLAY_EXT: Self[src]

impl BufferCreateFlags[src]

Generated from 'VK_VERSION_1_1'

pub const PROTECTED: Self[src]

Trait Implementations

impl Copy for BufferCreateFlags[src]

impl Default for BufferCreateFlags[src]

impl Eq for BufferCreateFlags[src]

impl Clone for BufferCreateFlags[src]

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

Performs copy-assignment from source. Read more

impl PartialOrd<BufferCreateFlags> for BufferCreateFlags[src]

impl PartialEq<BufferCreateFlags> for BufferCreateFlags[src]

impl Ord for BufferCreateFlags[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 BufferCreateFlags[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 BufferCreateFlags[src]

impl Sub<BufferCreateFlags> for BufferCreateFlags[src]

type Output = BufferCreateFlags

The resulting type after applying the - operator.

impl SubAssign<BufferCreateFlags> for BufferCreateFlags[src]

impl Not for BufferCreateFlags[src]

type Output = BufferCreateFlags

The resulting type after applying the ! operator.

impl BitAnd<BufferCreateFlags> for BufferCreateFlags[src]

type Output = BufferCreateFlags

The resulting type after applying the & operator.

impl BitOr<BufferCreateFlags> for BufferCreateFlags[src]

type Output = BufferCreateFlags

The resulting type after applying the | operator.

impl BitXor<BufferCreateFlags> for BufferCreateFlags[src]

type Output = BufferCreateFlags

The resulting type after applying the ^ operator.

impl BitAndAssign<BufferCreateFlags> for BufferCreateFlags[src]

impl BitOrAssign<BufferCreateFlags> for BufferCreateFlags[src]

impl BitXorAssign<BufferCreateFlags> for BufferCreateFlags[src]

Auto Trait Implementations

impl Unpin for BufferCreateFlags

impl Sync for BufferCreateFlags

impl Send for BufferCreateFlags

impl UnwindSafe for BufferCreateFlags

impl RefUnwindSafe for BufferCreateFlags

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]