pub struct ArgumentPosition {
pub scheme_key: String,
pub bindings: HashMap<String, String>,
pub preference_weight: f64,
}Expand description
A character’s position in an argument: which scheme they invoke and with what bindings.
Fields§
§scheme_key: StringSnake-case scheme key (e.g., “argument_from_expert_opinion”).
bindings: HashMap<String, String>Slot bindings for the scheme (e.g., {“expert”: “alice”, “domain”: “military”}).
preference_weight: f64Relative preference weight. Higher = stronger conviction. Range: [0.0, 1.0].
Trait Implementations§
Source§impl Clone for ArgumentPosition
impl Clone for ArgumentPosition
Source§fn clone(&self) -> ArgumentPosition
fn clone(&self) -> ArgumentPosition
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 moreAuto Trait Implementations§
impl Freeze for ArgumentPosition
impl RefUnwindSafe for ArgumentPosition
impl Send for ArgumentPosition
impl Sync for ArgumentPosition
impl Unpin for ArgumentPosition
impl UnsafeUnpin for ArgumentPosition
impl UnwindSafe for ArgumentPosition
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