pub enum BindingCount {
One,
StaticSized(usize),
Unbounded,
}Variants§
One
StaticSized(usize)
Unbounded
Variable number of resource bindings (usually dubbed “bindless”).
Count is determined in vkDescriptorSetLayoutBinding. No other bindings should follow in this set.
§Example
StructuredBuffer<uint> myBinding[]Trait Implementations§
Source§impl Clone for BindingCount
impl Clone for BindingCount
Source§fn clone(&self) -> BindingCount
fn clone(&self) -> BindingCount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BindingCount
impl Debug for BindingCount
Source§impl PartialEq for BindingCount
impl PartialEq for BindingCount
impl Eq for BindingCount
impl StructuralPartialEq for BindingCount
Auto Trait Implementations§
impl Freeze for BindingCount
impl RefUnwindSafe for BindingCount
impl Send for BindingCount
impl Sync for BindingCount
impl Unpin for BindingCount
impl UnwindSafe for BindingCount
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