pub struct MetadataBinding {
pub data: Vec<u32>,
pub static_len: usize,
}
Expand description
Binding of a set of scalars of the same type to execute a kernel.
Fields§
§data: Vec<u32>
Metadata values
static_len: usize
Length of the static portion (rank, len, buffer_len, shape_offsets, stride_offsets).
Implementations§
Trait Implementations§
Source§impl Debug for MetadataBinding
impl Debug for MetadataBinding
Source§impl Default for MetadataBinding
impl Default for MetadataBinding
Source§fn default() -> MetadataBinding
fn default() -> MetadataBinding
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MetadataBinding
impl RefUnwindSafe for MetadataBinding
impl Send for MetadataBinding
impl Sync for MetadataBinding
impl Unpin for MetadataBinding
impl UnwindSafe for MetadataBinding
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