pub struct UniformVariable {
pub set: u32,
pub binding: u32,
pub type_id: u32,
pub name: Option<String>,
}
Expand description
Describes a uniform variable declared in a SPIRV module
Fields§
§set: u32
Which DescriptorSet the variable is contained in (if known)
binding: u32
Which DescriptorSet binding the variable is contained in (if known)
type_id: u32
The type id of the variable’s Type
name: Option<String>
The variables name (if known)
Trait Implementations§
Source§impl Clone for UniformVariable
impl Clone for UniformVariable
Source§fn clone(&self) -> UniformVariable
fn clone(&self) -> UniformVariable
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 UniformVariable
impl RefUnwindSafe for UniformVariable
impl Send for UniformVariable
impl Sync for UniformVariable
impl Unpin for UniformVariable
impl UnwindSafe for UniformVariable
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