pub struct CBAdfFeatures {
pub shared: Option<SparseFeatures>,
pub actions: Vec<SparseFeatures>,
}
Fields§
§actions: Vec<SparseFeatures>
Trait Implementations§
Source§impl AbsDiffEq for CBAdfFeatures
impl AbsDiffEq 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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 for CBAdfFeatures
impl PartialEq for CBAdfFeatures
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 Freeze for CBAdfFeatures
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more