pub struct ParameterBindingTarget {
pub shape: Vec<usize>,
pub dtype: RecipeDtype,
pub permitted_source_dtypes: Vec<RecipeDtype>,
}Expand description
Backend-described geometry of one statically traversed parameter slot.
Fields§
§shape: Vec<usize>Logical shape expected by the destination.
dtype: RecipeDtypeLogical dtype expected by the destination.
permitted_source_dtypes: Vec<RecipeDtype>Source dtypes the backend can bind to this slot in addition to dtype.
Admission preserves the recipe’s dtype and byte accounting; it does not request conversion to the unloaded slot’s initial dtype.
Trait Implementations§
Source§impl Clone for ParameterBindingTarget
impl Clone for ParameterBindingTarget
Source§fn clone(&self) -> ParameterBindingTarget
fn clone(&self) -> ParameterBindingTarget
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 ParameterBindingTarget
impl Debug for ParameterBindingTarget
impl Eq for ParameterBindingTarget
Source§impl PartialEq for ParameterBindingTarget
impl PartialEq for ParameterBindingTarget
impl StructuralPartialEq for ParameterBindingTarget
Auto Trait Implementations§
impl Freeze for ParameterBindingTarget
impl RefUnwindSafe for ParameterBindingTarget
impl Send for ParameterBindingTarget
impl Sync for ParameterBindingTarget
impl Unpin for ParameterBindingTarget
impl UnsafeUnpin for ParameterBindingTarget
impl UnwindSafe for ParameterBindingTarget
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