pub struct RegisterBinding {
pub register: u32,
pub space: u32,
}Available on crate feature
hlsl only.Expand description
An HLSL register location.
Fields§
§register: u32The register for this binding.
space: u32The address space index for this binding.
This is ignored on Shader Model 5.0 and below.
Trait Implementations§
Source§impl Clone for RegisterBinding
impl Clone for RegisterBinding
Source§fn clone(&self) -> RegisterBinding
fn clone(&self) -> RegisterBinding
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 moreSource§impl Debug for RegisterBinding
impl Debug for RegisterBinding
Source§impl From<RegisterBinding> for HlslResourceBindingMapping
impl From<RegisterBinding> for HlslResourceBindingMapping
Source§fn from(value: RegisterBinding) -> Self
fn from(value: RegisterBinding) -> Self
Converts to this type from the input type.
Source§impl Hash for RegisterBinding
impl Hash for RegisterBinding
Source§impl PartialEq for RegisterBinding
impl PartialEq for RegisterBinding
impl Copy for RegisterBinding
impl Eq for RegisterBinding
impl StructuralPartialEq for RegisterBinding
Auto Trait Implementations§
impl Freeze for RegisterBinding
impl RefUnwindSafe for RegisterBinding
impl Send for RegisterBinding
impl Sync for RegisterBinding
impl Unpin for RegisterBinding
impl UnwindSafe for RegisterBinding
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