pub(crate) struct BoundBindGroupLayouts {
entries: ArrayVec<Entry, { hal::MAX_BIND_GROUPS }>,
}
Fields§
§entries: ArrayVec<Entry, { hal::MAX_BIND_GROUPS }>
Implementations§
source§impl BoundBindGroupLayouts
impl BoundBindGroupLayouts
pub fn new() -> Self
pub fn num_valid_entries(&self) -> usize
fn make_range(&self, start_index: usize) -> Range<usize>
pub fn update_expectations( &mut self, expectations: &[Arc<BindGroupLayout>], ) -> Range<usize>
pub fn assign( &mut self, index: usize, value: Arc<BindGroupLayout>, ) -> Range<usize>
pub fn list_active(&self) -> impl Iterator<Item = usize> + '_
pub fn get_invalid(&self) -> Result<(), (usize, Error)>
Trait Implementations§
source§impl Debug for BoundBindGroupLayouts
impl Debug for BoundBindGroupLayouts
source§impl Default for BoundBindGroupLayouts
impl Default for BoundBindGroupLayouts
source§fn default() -> BoundBindGroupLayouts
fn default() -> BoundBindGroupLayouts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BoundBindGroupLayouts
impl !RefUnwindSafe for BoundBindGroupLayouts
impl Send for BoundBindGroupLayouts
impl Sync for BoundBindGroupLayouts
impl Unpin for BoundBindGroupLayouts
impl !UnwindSafe for BoundBindGroupLayouts
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