#[repr(C)]pub struct RootConstants {
pub start: u32,
pub end: u32,
pub binding: u32,
pub space: u32,
}Available on crate feature
hlsl only.Expand description
Specifies an HLSL root constant layout.
Fields§
§start: u32§end: u32§binding: u32§space: u32Trait Implementations§
Source§impl Clone for HlslRootConstants
impl Clone for HlslRootConstants
Source§fn clone(&self) -> HlslRootConstants
fn clone(&self) -> HlslRootConstants
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 HlslRootConstants
impl Debug for HlslRootConstants
Source§impl Hash for HlslRootConstants
impl Hash for HlslRootConstants
Source§impl PartialEq for HlslRootConstants
impl PartialEq for HlslRootConstants
impl Copy for HlslRootConstants
impl Eq for HlslRootConstants
impl StructuralPartialEq for HlslRootConstants
Auto Trait Implementations§
impl Freeze for HlslRootConstants
impl RefUnwindSafe for HlslRootConstants
impl Send for HlslRootConstants
impl Sync for HlslRootConstants
impl Unpin for HlslRootConstants
impl UnwindSafe for HlslRootConstants
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