pub(super) struct BoundBindGroupLayouts {
entries: [Entry; 8],
rebind_start: usize,
}Fields§
§entries: [Entry; 8]§rebind_start: usizeImplementations§
Source§impl BoundBindGroupLayouts
impl BoundBindGroupLayouts
pub fn new() -> Self
Sourcepub fn take_rebind_start_index(&mut self) -> usize
pub fn take_rebind_start_index(&mut self) -> usize
Takes the start index of the bind group range to be rebound, and clears it.
pub fn update_rebind_start_index(&mut self, start_index: usize)
pub fn update_expectations( &mut self, expectations: &[Option<Arc<BindGroupLayout>>], )
pub fn assign(&mut self, index: usize, value: Arc<BindGroupLayout>)
pub fn clear(&mut self, index: usize)
pub fn list_active(&self) -> impl Iterator<Item = usize> + '_
pub fn list_valid(&self) -> impl Iterator<Item = usize> + '_
pub fn get_invalid(&self) -> Result<(), (usize, Error)>
Trait Implementations§
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