pub struct SpecializationConstant {
pub id: u32,
pub range: Range<u16>,
}
Expand description
Description of a specialization constant for the pipeline.
Fields§
§id: u32
Constant identifier in shader source.
range: Range<u16>
Value to override specialization constant.
Trait Implementations§
Source§impl Clone for SpecializationConstant
impl Clone for SpecializationConstant
Source§fn clone(&self) -> SpecializationConstant
fn clone(&self) -> SpecializationConstant
Returns a copy 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 SpecializationConstant
impl Debug for SpecializationConstant
Source§impl Hash for SpecializationConstant
impl Hash for SpecializationConstant
Source§impl PartialEq for SpecializationConstant
impl PartialEq for SpecializationConstant
impl StructuralPartialEq for SpecializationConstant
Auto Trait Implementations§
impl Freeze for SpecializationConstant
impl RefUnwindSafe for SpecializationConstant
impl Send for SpecializationConstant
impl Sync for SpecializationConstant
impl Unpin for SpecializationConstant
impl UnwindSafe for SpecializationConstant
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