Skip to main content

Knobs

Struct Knobs 

Source
pub struct Knobs {
Show 37 fields pub delta: f64, pub k: f64, pub s: f64, pub home_bias: f64, pub b_pass: f64, pub b_takeon: f64, pub b_cross_delivery: f64, pub k_ontarget: f64, pub k_gk: f64, pub b_ontarget: f64, pub b_beat: f64, pub p_off_frac: f64, pub p_rebound: f64, pub q_rebound: f64, pub q_through: f64, pub q_dribble: f64, pub q_cutback: f64, pub q_header: f64, pub q_long: f64, pub p_def_advance: f64, pub p_mid_advance: f64, pub p_wide: f64, pub p_attc_penetrate: f64, pub p_attc_dribble_box: f64, pub p_attw_cutback: f64, pub p_attw_cut_inside: f64, pub w_pass_mid: f64, pub w_takeon_mid: f64, pub w_pass_attc: f64, pub w_takeon_attc: f64, pub w_longshot_attc: f64, pub w_cross_attw: f64, pub w_takeon_attw: f64, pub w_pass_attw: f64, pub fatigue_base: f64, pub fatigue_wr: f64, pub support: f64,
}

Fields§

§delta: f64

Match-minutes advanced per possession step.

§k: f64

Attribute-difference sensitivity (open-play contests).

§s: f64

Scale — normalizes the 0..100 attribute range.

§home_bias: f64

Additive edge to the home side’s attacking contests.

§b_pass: f64§b_takeon: f64§b_cross_delivery: f64§k_ontarget: f64§k_gk: f64§b_ontarget: f64§b_beat: f64§p_off_frac: f64

Of shots that miss the on-target sigmoid, the share narrated as “off” vs “blocked” — a cosmetic split only (both transition to the same opponent-Def outcome; MATCH_MODEL.md §3’s transition table treats them as one branch, §9’s stream schema wants them as two distinct, narratable outcomes).

§p_rebound: f64

Save → parried rebound (follow-up shot) vs collected.

§q_rebound: f64

Rebound chances are scrappy.

§q_through: f64§q_dribble: f64§q_cutback: f64§q_header: f64§q_long: f64§p_def_advance: f64

Completed build-up pass advances DefMid (else retain Def).

§p_mid_advance: f64

Completed Mid action advances to the final third.

§p_wide: f64

Of advances, share going wide (AttW) vs central (AttC).

§p_attc_penetrate: f64

Through-ball reaches the box.

§p_attc_dribble_box: f64

AttC take-on reaches the box.

§p_attw_cutback: f64

AttW take-on becomes a cutback chance.

§p_attw_cut_inside: f64

AttW take-on cuts inside to AttC instead.

§w_pass_mid: f64§w_takeon_mid: f64§w_pass_attc: f64§w_takeon_attc: f64§w_longshot_attc: f64§w_cross_attw: f64§w_takeon_attw: f64§w_pass_attw: f64§fatigue_base: f64

Max drop at 90’ for a 0-stamina, low-work-rate player.

§fatigue_wr: f64

How much Work Rate accelerates fatigue.

§support: f64

0 = pure actor, 1 = pure team mean.

Trait Implementations§

Source§

impl Clone for Knobs

Source§

fn clone(&self) -> Knobs

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Knobs

Source§

impl Debug for Knobs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Knobs

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl PartialEq for Knobs

Source§

fn eq(&self, other: &Knobs) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Knobs

Auto Trait Implementations§

§

impl Freeze for Knobs

§

impl RefUnwindSafe for Knobs

§

impl Send for Knobs

§

impl Sync for Knobs

§

impl Unpin for Knobs

§

impl UnsafeUnpin for Knobs

§

impl UnwindSafe for Knobs

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.