pub struct PipelineLayout {
group_infos: Box<[Option<BindGroupLayoutInfo>]>,
naga_options: Options,
}Available on
gles only.Fields§
§group_infos: Box<[Option<BindGroupLayoutInfo>]>§naga_options: OptionsImplementations§
Source§impl PipelineLayout
impl PipelineLayout
Sourcefn get_slot(&self, br: &ResourceBinding) -> u8
fn get_slot(&self, br: &ResourceBinding) -> u8
§Panics
If the pipeline layout does not contain a bind group layout used by the resource binding.
Trait Implementations§
Source§impl Debug for PipelineLayout
impl Debug for PipelineLayout
Source§impl DynResource for PipelineLayout
impl DynResource for PipelineLayout
impl DynPipelineLayout for PipelineLayout
Auto Trait Implementations§
impl Freeze for PipelineLayout
impl RefUnwindSafe for PipelineLayout
impl Send for PipelineLayout
impl Sync for PipelineLayout
impl Unpin for PipelineLayout
impl UnwindSafe for PipelineLayout
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> 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