struct Decoration {Show 15 fields
name: Option<String>,
built_in: Option<Word>,
location: Option<Word>,
desc_set: Option<Word>,
desc_index: Option<Word>,
specialization_constant_id: Option<Word>,
storage_buffer: bool,
offset: Option<Word>,
array_stride: Option<NonZeroU32>,
matrix_stride: Option<NonZeroU32>,
matrix_major: Option<Majority>,
invariant: bool,
interpolation: Option<Interpolation>,
sampling: Option<Sampling>,
flags: DecorationFlags,
}
Fields§
§name: Option<String>
§built_in: Option<Word>
§location: Option<Word>
§desc_set: Option<Word>
§desc_index: Option<Word>
§specialization_constant_id: Option<Word>
§storage_buffer: bool
§offset: Option<Word>
§array_stride: Option<NonZeroU32>
§matrix_stride: Option<NonZeroU32>
§matrix_major: Option<Majority>
§invariant: bool
§interpolation: Option<Interpolation>
§sampling: Option<Sampling>
§flags: DecorationFlags
Implementations§
source§impl Decoration
impl Decoration
fn debug_name(&self) -> &str
const fn resource_binding(&self) -> Option<ResourceBinding>
fn io_binding(&self) -> Result<Binding, Error>
Trait Implementations§
source§impl Debug for Decoration
impl Debug for Decoration
source§impl Default for Decoration
impl Default for Decoration
source§fn default() -> Decoration
fn default() -> Decoration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Decoration
impl RefUnwindSafe for Decoration
impl Send for Decoration
impl Sync for Decoration
impl Unpin for Decoration
impl UnwindSafe for Decoration
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