pub struct WgpuBindingAssignment {
pub name: Arc<str>,
pub group: u32,
pub binding: u32,
pub kind: MemoryKind,
pub access: BufferAccess,
pub element: DataType,
}Expand description
Binding assignment made by the wgpu lowering pipeline.
Fields§
§name: Arc<str>Program buffer name.
group: u32Bind group index. Vyre wgpu programs currently use group 0.
binding: u32Binding slot inside the group.
kind: MemoryKindMemory tier used to choose the wgpu address space.
access: BufferAccessAccess mode declared by core IR.
element: DataTypeElement type carried by the binding.
Trait Implementations§
Source§impl Clone for WgpuBindingAssignment
impl Clone for WgpuBindingAssignment
Source§fn clone(&self) -> WgpuBindingAssignment
fn clone(&self) -> WgpuBindingAssignment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WgpuBindingAssignment
impl Debug for WgpuBindingAssignment
impl Eq for WgpuBindingAssignment
Source§impl PartialEq for WgpuBindingAssignment
impl PartialEq for WgpuBindingAssignment
Source§fn eq(&self, other: &WgpuBindingAssignment) -> bool
fn eq(&self, other: &WgpuBindingAssignment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WgpuBindingAssignment
Auto Trait Implementations§
impl Freeze for WgpuBindingAssignment
impl RefUnwindSafe for WgpuBindingAssignment
impl Send for WgpuBindingAssignment
impl Sync for WgpuBindingAssignment
impl Unpin for WgpuBindingAssignment
impl UnsafeUnpin for WgpuBindingAssignment
impl UnwindSafe for WgpuBindingAssignment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.