pub enum BindingRole {
Input,
Output,
InputOutput,
Uniform,
Shared,
Persistent,
}Expand description
Host/device binding role assigned to one VYRE buffer.
Variants§
Input
Host input copied to a read-only device buffer.
Output
Device output read back after dispatch.
InputOutput
Host input copied to a read-write device buffer and read back later.
Uniform
Uniform-style read-only input.
Workgroup-local memory declared in target code.
Persistent
Persistent memory handle managed by runtime ingest APIs.
Trait Implementations§
Source§impl Clone for BindingRole
impl Clone for BindingRole
Source§fn clone(&self) -> BindingRole
fn clone(&self) -> BindingRole
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 moreimpl Copy for BindingRole
Source§impl Debug for BindingRole
impl Debug for BindingRole
impl Eq for BindingRole
Source§impl Hash for BindingRole
impl Hash for BindingRole
Source§impl PartialEq for BindingRole
impl PartialEq for BindingRole
Source§fn eq(&self, other: &BindingRole) -> bool
fn eq(&self, other: &BindingRole) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BindingRole
Auto Trait Implementations§
impl Freeze for BindingRole
impl RefUnwindSafe for BindingRole
impl Send for BindingRole
impl Sync for BindingRole
impl Unpin for BindingRole
impl UnsafeUnpin for BindingRole
impl UnwindSafe for BindingRole
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.