Struct reductionml_core::types::CBAdfFeatures
source · pub struct CBAdfFeatures {
pub shared: Option<SparseFeatures>,
pub actions: Vec<SparseFeatures>,
}
Fields§
§actions: Vec<SparseFeatures>
Trait Implementations§
source§impl AbsDiffEq<CBAdfFeatures> for CBAdfFeatures
impl AbsDiffEq<CBAdfFeatures> for CBAdfFeatures
source§fn default_epsilon() -> Self::Epsilon
fn default_epsilon() -> Self::Epsilon
The default tolerance to use when testing values that are close together. Read more
source§fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool
fn abs_diff_eq(&self, other: &Self, epsilon: Self::Epsilon) -> bool
A test for equality that uses the absolute difference to compute the approximate
equality of two numbers.
source§fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
fn abs_diff_ne(&self, other: &Rhs, epsilon: Self::Epsilon) -> bool
The inverse of
AbsDiffEq::abs_diff_eq
.source§impl AsInner<CBAdfFeatures> for Features<'_>
impl AsInner<CBAdfFeatures> for Features<'_>
fn as_inner(&self) -> Option<&CBAdfFeatures>
fn as_inner_mut(&mut self) -> Option<&mut CBAdfFeatures>
source§impl Clone for CBAdfFeatures
impl Clone for CBAdfFeatures
source§fn clone(&self) -> CBAdfFeatures
fn clone(&self) -> CBAdfFeatures
Returns a copy 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 CBAdfFeatures
impl Debug for CBAdfFeatures
source§impl Default for CBAdfFeatures
impl Default for CBAdfFeatures
source§fn default() -> CBAdfFeatures
fn default() -> CBAdfFeatures
Returns the “default value” for a type. Read more
source§impl<'a> From<&'a mut CBAdfFeatures> for Features<'a>
impl<'a> From<&'a mut CBAdfFeatures> for Features<'a>
source§fn from(f: &'a mut CBAdfFeatures) -> Features<'a>
fn from(f: &'a mut CBAdfFeatures) -> Features<'a>
Converts to this type from the input type.
source§impl From<CBAdfFeatures> for Features<'_>
impl From<CBAdfFeatures> for Features<'_>
source§fn from(f: CBAdfFeatures) -> Self
fn from(f: CBAdfFeatures) -> Self
Converts to this type from the input type.
source§impl PartialEq<CBAdfFeatures> for CBAdfFeatures
impl PartialEq<CBAdfFeatures> for CBAdfFeatures
source§fn eq(&self, other: &CBAdfFeatures) -> bool
fn eq(&self, other: &CBAdfFeatures) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PoolReturnable<SparseFeatures> for CBAdfFeatures
impl PoolReturnable<SparseFeatures> for CBAdfFeatures
fn clear_and_return_object(self, pool: &Pool<SparseFeatures>)
source§impl TryFrom<Features<'_>> for CBAdfFeatures
impl TryFrom<Features<'_>> for CBAdfFeatures
impl StructuralPartialEq for CBAdfFeatures
Auto Trait Implementations§
impl RefUnwindSafe for CBAdfFeatures
impl Send for CBAdfFeatures
impl Sync for CBAdfFeatures
impl Unpin for CBAdfFeatures
impl UnwindSafe for CBAdfFeatures
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