pub struct InferredBinding {
pub function: PubFn,
pub contract_stem: String,
pub equation: String,
pub confidence: f64,
pub strategy: MatchStrategy,
}Expand description
A suggested binding for an unbound function.
Fields§
§function: PubFnThe unbound function
contract_stem: StringMatched contract stem (e.g., “softmax-kernel-v1”)
equation: StringMatched equation name (e.g., “softmax”)
confidence: f64Confidence score 0.0-1.0
strategy: MatchStrategyMatching strategy that produced this suggestion
Trait Implementations§
Source§impl Clone for InferredBinding
impl Clone for InferredBinding
Source§fn clone(&self) -> InferredBinding
fn clone(&self) -> InferredBinding
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 moreAuto Trait Implementations§
impl Freeze for InferredBinding
impl RefUnwindSafe for InferredBinding
impl Send for InferredBinding
impl Sync for InferredBinding
impl Unpin for InferredBinding
impl UnsafeUnpin for InferredBinding
impl UnwindSafe for InferredBinding
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