pub struct ScalarMapping {
pub buffer: u16,
pub source: u16,
pub component: u16,
pub target: u16,
}Expand description
One component of a constant buffer copied into an int (i#) or bool (b#) constant register.
Fields§
§buffer: u16The constant buffer (cb#).
source: u16The buffer’s register.
component: u16The register’s component, 0 to 3 for x to w.
target: u16The i# or b# register it goes to.
Trait Implementations§
Source§impl Clone for ScalarMapping
impl Clone for ScalarMapping
Source§impl Debug for ScalarMapping
impl Debug for ScalarMapping
impl Eq for ScalarMapping
Source§impl PartialEq for ScalarMapping
impl PartialEq for ScalarMapping
impl StructuralPartialEq for ScalarMapping
Auto Trait Implementations§
impl Forget for ScalarMapping
impl Freeze for ScalarMapping
impl RefUnwindSafe for ScalarMapping
impl Send for ScalarMapping
impl Sync for ScalarMapping
impl Unpin for ScalarMapping
impl UnsafeUnpin for ScalarMapping
impl UnwindSafe for ScalarMapping
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