pub struct ConstantTable {
pub creator: Option<String>,
pub version: u32,
pub flags: u32,
pub target: Option<String>,
pub constants: Vec<ConstantInfo>,
}Fields§
§creator: Option<String>§version: u32§flags: u32§target: Option<String>§constants: Vec<ConstantInfo>Implementations§
Source§impl ConstantTable
impl ConstantTable
pub fn find_register_name( &self, register_set: RegisterSet, index: u16, ) -> Option<&str>
pub fn hlsl_uniforms(&self) -> String
Trait Implementations§
Source§impl Clone for ConstantTable
impl Clone for ConstantTable
Source§fn clone(&self) -> ConstantTable
fn clone(&self) -> ConstantTable
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 ConstantTable
impl RefUnwindSafe for ConstantTable
impl Send for ConstantTable
impl Sync for ConstantTable
impl Unpin for ConstantTable
impl UnsafeUnpin for ConstantTable
impl UnwindSafe for ConstantTable
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