pub struct BindGroupLayoutDescriptor<'a, BGLE: Copy> {
pub label: Label<'a>,
pub entries: Cow<'a, [BGLE]>,
}Expand description
Describes a BindGroupLayout.
Fields§
§label: Label<'a>Debug label of the bind group layout.
This will show up in graphics debuggers for easy identification.
entries: Cow<'a, [BGLE]>Array of entries in this BindGroupLayout
Trait Implementations§
Source§impl<'a, BGLE: Clone + Copy> Clone for BindGroupLayoutDescriptor<'a, BGLE>
impl<'a, BGLE: Clone + Copy> Clone for BindGroupLayoutDescriptor<'a, BGLE>
Source§fn clone(&self) -> BindGroupLayoutDescriptor<'a, BGLE>
fn clone(&self) -> BindGroupLayoutDescriptor<'a, BGLE>
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<'de, 'a, BGLE> Deserialize<'de> for BindGroupLayoutDescriptor<'a, BGLE>where
BGLE: Deserialize<'de> + Copy,
impl<'de, 'a, BGLE> Deserialize<'de> for BindGroupLayoutDescriptor<'a, BGLE>where
BGLE: Deserialize<'de> + Copy,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a, BGLE> IntoTrace for BindGroupLayoutDescriptor<'a, BGLE>
Available on crate feature trace and (crate features trace or replay) only.
impl<'a, BGLE> IntoTrace for BindGroupLayoutDescriptor<'a, BGLE>
Available on crate feature
trace and (crate features trace or replay) only.type Output = BindGroupLayoutDescriptor<'static, BindGroupLayoutEntry>
fn into_trace(self) -> Self::Output
fn to_trace(&self) -> Self::Output
Auto Trait Implementations§
impl<'a, BGLE> Freeze for BindGroupLayoutDescriptor<'a, BGLE>
impl<'a, BGLE> RefUnwindSafe for BindGroupLayoutDescriptor<'a, BGLE>where
BGLE: RefUnwindSafe,
impl<'a, BGLE> Send for BindGroupLayoutDescriptor<'a, BGLE>
impl<'a, BGLE> Sync for BindGroupLayoutDescriptor<'a, BGLE>where
BGLE: Sync,
impl<'a, BGLE> Unpin for BindGroupLayoutDescriptor<'a, BGLE>where
BGLE: Unpin,
impl<'a, BGLE> UnsafeUnpin for BindGroupLayoutDescriptor<'a, BGLE>
impl<'a, BGLE> UnwindSafe for BindGroupLayoutDescriptor<'a, BGLE>where
BGLE: RefUnwindSafe + UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more