pub enum RDOType {
PixelDistRealRate,
TxDistRealRate,
TxDistEstRate,
}
Variants§
Implementations§
Source§impl RDOType
impl RDOType
pub const fn needs_tx_dist(self) -> bool
pub const fn needs_coeff_rate(self) -> bool
Trait Implementations§
impl Copy for RDOType
impl Eq for RDOType
impl StructuralPartialEq for RDOType
Auto Trait Implementations§
impl Freeze for RDOType
impl RefUnwindSafe for RDOType
impl Send for RDOType
impl Sync for RDOType
impl Unpin for RDOType
impl UnwindSafe for RDOType
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