pub struct KernelBinding {
pub contract: String,
pub equation: String,
pub module_path: Option<String>,
pub function: Option<String>,
pub signature: Option<String>,
pub status: ImplStatus,
pub notes: Option<String>,
}Expand description
A single binding: one contract equation mapped to one implementation.
Fields§
§contract: StringContract YAML filename (e.g. “softmax-kernel-v1.yaml”).
equation: StringEquation name within the contract (e.g. “softmax”).
module_path: Option<String>Full Rust module path (e.g. aprender::nn::functional::softmax).
function: Option<String>Function or method name.
signature: Option<String>Full Rust signature string.
status: ImplStatusImplementation status.
notes: Option<String>Free-form notes.
Trait Implementations§
Source§impl Clone for KernelBinding
impl Clone for KernelBinding
Source§fn clone(&self) -> KernelBinding
fn clone(&self) -> KernelBinding
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 KernelBinding
impl Debug for KernelBinding
Source§impl<'de> Deserialize<'de> for KernelBinding
impl<'de> Deserialize<'de> for KernelBinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KernelBinding
impl RefUnwindSafe for KernelBinding
impl Send for KernelBinding
impl Sync for KernelBinding
impl Unpin for KernelBinding
impl UnsafeUnpin for KernelBinding
impl UnwindSafe for KernelBinding
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