pub struct PipelineLayoutDescriptor<'a, B: DynBindGroupLayout + ?Sized> {
pub label: Label<'a>,
pub flags: PipelineLayoutFlags,
pub bind_group_layouts: &'a [Option<&'a B>],
pub immediate_size: u32,
}Fields§
§label: Label<'a>§flags: PipelineLayoutFlags§bind_group_layouts: &'a [Option<&'a B>]§immediate_size: u32Trait Implementations§
Source§impl<'a, B: Clone + DynBindGroupLayout + ?Sized> Clone for PipelineLayoutDescriptor<'a, B>
impl<'a, B: Clone + DynBindGroupLayout + ?Sized> Clone for PipelineLayoutDescriptor<'a, B>
Source§fn clone(&self) -> PipelineLayoutDescriptor<'a, B>
fn clone(&self) -> PipelineLayoutDescriptor<'a, B>
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<'a, B> Freeze for PipelineLayoutDescriptor<'a, B>where
B: ?Sized,
impl<'a, B> RefUnwindSafe for PipelineLayoutDescriptor<'a, B>where
B: RefUnwindSafe + ?Sized,
impl<'a, B> Send for PipelineLayoutDescriptor<'a, B>where
B: ?Sized,
impl<'a, B> Sync for PipelineLayoutDescriptor<'a, B>where
B: ?Sized,
impl<'a, B> Unpin for PipelineLayoutDescriptor<'a, B>where
B: ?Sized,
impl<'a, B> UnwindSafe for PipelineLayoutDescriptor<'a, B>where
B: RefUnwindSafe + ?Sized,
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