pub struct ConstantInfo {
pub name: String,
pub register_set: RegisterSet,
pub register_index: u16,
pub register_count: u16,
pub type_info: Option<TypeInfo>,
}Fields§
§name: String§register_set: RegisterSet§register_index: u16§register_count: u16§type_info: Option<TypeInfo>Implementations§
Source§impl ConstantInfo
impl ConstantInfo
pub fn register_name(&self) -> String
pub fn hlsl_decl_type(&self) -> String
pub fn struct_type_name(&self) -> Option<String>
Trait Implementations§
Source§impl Clone for ConstantInfo
impl Clone for ConstantInfo
Source§fn clone(&self) -> ConstantInfo
fn clone(&self) -> ConstantInfo
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 ConstantInfo
impl RefUnwindSafe for ConstantInfo
impl Send for ConstantInfo
impl Sync for ConstantInfo
impl Unpin for ConstantInfo
impl UnsafeUnpin for ConstantInfo
impl UnwindSafe for ConstantInfo
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