pub struct BindGroupLayoutSpec {
pub label: Option<String>,
pub entries: Vec<BindingLayoutEntry>,
}Fields§
§label: Option<String>§entries: Vec<BindingLayoutEntry>Implementations§
Source§impl BindGroupLayoutSpec
impl BindGroupLayoutSpec
pub fn single(entries: Vec<BindingLayoutEntry>) -> Vec<Self>
Trait Implementations§
Source§impl Clone for BindGroupLayoutSpec
impl Clone for BindGroupLayoutSpec
Source§fn clone(&self) -> BindGroupLayoutSpec
fn clone(&self) -> BindGroupLayoutSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BindGroupLayoutSpec
impl RefUnwindSafe for BindGroupLayoutSpec
impl Send for BindGroupLayoutSpec
impl Sync for BindGroupLayoutSpec
impl Unpin for BindGroupLayoutSpec
impl UnsafeUnpin for BindGroupLayoutSpec
impl UnwindSafe for BindGroupLayoutSpec
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