Enum wgpu::naga::proc::IndexableLength
source · pub enum IndexableLength {
Known(u32),
Dynamic,
}
Expand description
The number of elements in an indexable type.
This summarizes the length of vectors, matrices, and arrays in a way that is convenient for indexing and bounds-checking code.
Variants§
Known(u32)
Values of this type always have the given number of elements.
Dynamic
The number of elements is determined at runtime.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for IndexableLength
impl Send for IndexableLength
impl Sync for IndexableLength
impl Unpin for IndexableLength
impl UnwindSafe for IndexableLength
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