Struct blade_graphics::ShaderDataLayout
source · pub struct ShaderDataLayout {
pub bindings: Vec<(&'static str, ShaderBinding)>,
}Fields§
§bindings: Vec<(&'static str, ShaderBinding)>Implementations§
source§impl ShaderDataLayout
impl ShaderDataLayout
pub const EMPTY: &'static Self = _
Trait Implementations§
source§impl Clone for ShaderDataLayout
impl Clone for ShaderDataLayout
source§fn clone(&self) -> ShaderDataLayout
fn clone(&self) -> ShaderDataLayout
Returns a copy 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 ShaderDataLayout
impl Debug for ShaderDataLayout
source§impl Default for ShaderDataLayout
impl Default for ShaderDataLayout
source§fn default() -> ShaderDataLayout
fn default() -> ShaderDataLayout
Returns the “default value” for a type. Read more
source§impl PartialEq for ShaderDataLayout
impl PartialEq for ShaderDataLayout
source§fn eq(&self, other: &ShaderDataLayout) -> bool
fn eq(&self, other: &ShaderDataLayout) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ShaderDataLayout
Auto Trait Implementations§
impl RefUnwindSafe for ShaderDataLayout
impl Send for ShaderDataLayout
impl Sync for ShaderDataLayout
impl Unpin for ShaderDataLayout
impl UnwindSafe for ShaderDataLayout
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