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§
Source§impl Clone for SpecializationInfo
impl Clone for SpecializationInfo
Source§fn clone(&self) -> SpecializationInfo
fn clone(&self) -> SpecializationInfo
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 moreAuto Trait Implementations§
impl Freeze for SpecializationInfo
impl RefUnwindSafe for SpecializationInfo
impl Send for SpecializationInfo
impl Sync for SpecializationInfo
impl Unpin for SpecializationInfo
impl UnwindSafe for SpecializationInfo
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