Struct screen_13::driver::shader::SpecializationInfo
source · pub struct SpecializationInfo {
pub data: Vec<u8>,
pub map_entries: Vec<SpecializationMapEntry>,
}Expand description
Describes specialized constant values.
Fields
data: Vec<u8>A buffer of data which holds the constant values.
map_entries: Vec<SpecializationMapEntry>Mapping of locations within the constant value data which describe each individual constant.
Implementations
Trait Implementations
sourceimpl Clone for SpecializationInfo
impl Clone for SpecializationInfo
sourcefn clone(&self) -> SpecializationInfo
fn clone(&self) -> SpecializationInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl RefUnwindSafe for SpecializationInfo
impl Send for SpecializationInfo
impl Sync for SpecializationInfo
impl Unpin for SpecializationInfo
impl UnwindSafe for SpecializationInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more