pub struct EffectContext {
pub global_mean_outcome: f32,
}Expand description
Context passed to effect activations per row.
Fields§
§global_mean_outcome: f32Trait Implementations§
Source§impl Clone for EffectContext
impl Clone for EffectContext
Source§fn clone(&self) -> EffectContext
fn clone(&self) -> EffectContext
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 EffectContext
impl Debug for EffectContext
Source§impl PartialEq for EffectContext
impl PartialEq for EffectContext
Source§fn eq(&self, other: &EffectContext) -> bool
fn eq(&self, other: &EffectContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EffectContext
impl StructuralPartialEq for EffectContext
Auto Trait Implementations§
impl Freeze for EffectContext
impl RefUnwindSafe for EffectContext
impl Send for EffectContext
impl Sync for EffectContext
impl Unpin for EffectContext
impl UnsafeUnpin for EffectContext
impl UnwindSafe for EffectContext
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