pub struct AccessFlagBits {
Show 17 fields pub indirect_command_read: bool, pub index_read: bool, pub vertex_attribute_read: bool, pub uniform_read: bool, pub input_attachment_read: bool, pub shader_read: bool, pub shader_write: bool, pub color_attachment_read: bool, pub color_attachment_write: bool, pub depth_stencil_attachment_read: bool, pub depth_stencil_attachment_write: bool, pub transfer_read: bool, pub transfer_write: bool, pub host_read: bool, pub host_write: bool, pub memory_read: bool, pub memory_write: bool,
}

Fields

indirect_command_read: boolindex_read: boolvertex_attribute_read: booluniform_read: boolinput_attachment_read: boolshader_read: boolshader_write: boolcolor_attachment_read: boolcolor_attachment_write: booldepth_stencil_attachment_read: booldepth_stencil_attachment_write: booltransfer_read: booltransfer_write: boolhost_read: boolhost_write: boolmemory_read: boolmemory_write: bool

Implementations

Builds an AccessFlagBits struct with all bits set.

Builds an AccessFlagBits struct with none of the bits set.

Returns true if the access flags can be used with the given pipeline stages.

Corresponds to Table 4. Supported access types in section 6.1.3. Access Types of the Vulkan specs.

Trait Implementations

The resulting type after applying the | operator.
Performs the | operation. Read more
Performs the |= operation. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.