pub(super) struct BoundBindGroupLayouts {
entries: ArrayVec<Entry, { hal::MAX_BIND_GROUPS }>,
rebind_start: usize,
}Fields§
§entries: ArrayVec<Entry, { hal::MAX_BIND_GROUPS }>§rebind_start: usizeImplementations§
Source§impl BoundBindGroupLayouts
impl BoundBindGroupLayouts
pub fn new() -> Self
pub fn num_valid_entries(&self) -> usize
Sourcepub fn take_rebind_range(&mut self) -> Range<usize>
pub fn take_rebind_range(&mut self) -> Range<usize>
Get the range of entries that needs to be rebound, and clears it.
pub fn update_start_index(&mut self, start_index: usize)
pub fn update_expectations(&mut self, expectations: &[Arc<BindGroupLayout>])
pub fn assign(&mut self, index: usize, value: Arc<BindGroupLayout>)
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