pub struct DescriptorType(/* private fields */);Expand description
Implementations§
Source§impl DescriptorType
impl DescriptorType
pub const SAMPLER: DescriptorType
pub const COMBINED_IMAGE_SAMPLER: DescriptorType
pub const SAMPLED_IMAGE: DescriptorType
pub const STORAGE_IMAGE: DescriptorType
pub const UNIFORM_TEXEL_BUFFER: DescriptorType
pub const STORAGE_TEXEL_BUFFER: DescriptorType
pub const UNIFORM_BUFFER: DescriptorType
pub const STORAGE_BUFFER: DescriptorType
pub const UNIFORM_BUFFER_DYNAMIC: DescriptorType
pub const STORAGE_BUFFER_DYNAMIC: DescriptorType
pub const INPUT_ATTACHMENT: DescriptorType
pub const INLINE_UNIFORM_BLOCK: DescriptorType
pub const ACCELERATION_STRUCTURE: DescriptorType
pub const SAMPLE_WEIGHT_IMAGE: DescriptorType
pub const BLOCK_MATCH_IMAGE: DescriptorType
pub const TENSOR: DescriptorType
pub const PARTITIONED_ACCELERATION_STRUCTURE: DescriptorType
pub const fn from_raw(value: i32) -> DescriptorType
pub const fn as_raw(self) -> i32
Trait Implementations§
Source§impl Clone for DescriptorType
impl Clone for DescriptorType
Source§fn clone(&self) -> DescriptorType
fn clone(&self) -> DescriptorType
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 Debug for DescriptorType
impl Debug for DescriptorType
Source§impl Default for DescriptorType
impl Default for DescriptorType
Source§fn default() -> DescriptorType
fn default() -> DescriptorType
Returns the “default value” for a type. Read more
Source§impl Display for DescriptorType
impl Display for DescriptorType
Source§impl Error for DescriptorType
impl Error for DescriptorType
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Hash for DescriptorType
impl Hash for DescriptorType
Source§impl Ord for DescriptorType
impl Ord for DescriptorType
Source§fn cmp(&self, other: &DescriptorType) -> Ordering
fn cmp(&self, other: &DescriptorType) -> 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 DescriptorType
impl PartialEq for DescriptorType
Source§impl PartialOrd for DescriptorType
impl PartialOrd for DescriptorType
impl Copy for DescriptorType
impl Eq for DescriptorType
impl StructuralPartialEq for DescriptorType
Auto Trait Implementations§
impl Freeze for DescriptorType
impl RefUnwindSafe for DescriptorType
impl Send for DescriptorType
impl Sync for DescriptorType
impl Unpin for DescriptorType
impl UnsafeUnpin for DescriptorType
impl UnwindSafe for DescriptorType
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