pub struct Descriptor {
pub set: u32,
pub binding: u32,
}Expand description
Tuple of descriptor set index and binding index.
This is a generic representation of the descriptor binding point within the shader and not a bound descriptor reference.
Fields§
§set: u32Descriptor set index
binding: u32Descriptor binding index
Trait Implementations§
Source§impl Clone for Descriptor
impl Clone for Descriptor
Source§fn clone(&self) -> Descriptor
fn clone(&self) -> Descriptor
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 Descriptor
impl Debug for Descriptor
Source§impl Default for Descriptor
impl Default for Descriptor
Source§fn default() -> Descriptor
fn default() -> Descriptor
Returns the “default value” for a type. Read more
Source§impl From<u32> for Descriptor
impl From<u32> for Descriptor
Source§impl Hash for Descriptor
impl Hash for Descriptor
Source§impl Ord for Descriptor
impl Ord for Descriptor
Source§fn cmp(&self, other: &Descriptor) -> Ordering
fn cmp(&self, other: &Descriptor) -> 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 Descriptor
impl PartialEq for Descriptor
Source§impl PartialOrd for Descriptor
impl PartialOrd for Descriptor
impl Copy for Descriptor
impl Eq for Descriptor
impl StructuralPartialEq for Descriptor
Auto Trait Implementations§
impl Freeze for Descriptor
impl RefUnwindSafe for Descriptor
impl Send for Descriptor
impl Sync for Descriptor
impl Unpin for Descriptor
impl UnwindSafe for Descriptor
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