Struct rv::data::UnitPowerLawSuffStat
source · pub struct UnitPowerLawSuffStat { /* private fields */ }
Expand description
Inverse Gamma sufficient statistic.
Implementations§
Trait Implementations§
source§impl Clone for UnitPowerLawSuffStat
impl Clone for UnitPowerLawSuffStat
source§fn clone(&self) -> UnitPowerLawSuffStat
fn clone(&self) -> UnitPowerLawSuffStat
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 UnitPowerLawSuffStat
impl Debug for UnitPowerLawSuffStat
source§impl Default for UnitPowerLawSuffStat
impl Default for UnitPowerLawSuffStat
source§impl<'de> Deserialize<'de> for UnitPowerLawSuffStat
impl<'de> Deserialize<'de> for UnitPowerLawSuffStat
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&[f32]> for UnitPowerLawSuffStat
impl From<&[f32]> for UnitPowerLawSuffStat
source§impl From<&[f64]> for UnitPowerLawSuffStat
impl From<&[f64]> for UnitPowerLawSuffStat
source§impl<'a> From<&'a UnitPowerLawSuffStat> for DataOrSuffStat<'a, f32, UnitPowerLaw>
impl<'a> From<&'a UnitPowerLawSuffStat> for DataOrSuffStat<'a, f32, UnitPowerLaw>
source§fn from(stat: &'a UnitPowerLawSuffStat) -> Self
fn from(stat: &'a UnitPowerLawSuffStat) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a UnitPowerLawSuffStat> for DataOrSuffStat<'a, f64, UnitPowerLaw>
impl<'a> From<&'a UnitPowerLawSuffStat> for DataOrSuffStat<'a, f64, UnitPowerLaw>
source§fn from(stat: &'a UnitPowerLawSuffStat) -> Self
fn from(stat: &'a UnitPowerLawSuffStat) -> Self
Converts to this type from the input type.
source§impl PartialEq for UnitPowerLawSuffStat
impl PartialEq for UnitPowerLawSuffStat
source§fn eq(&self, other: &UnitPowerLawSuffStat) -> bool
fn eq(&self, other: &UnitPowerLawSuffStat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UnitPowerLawSuffStat
impl Serialize for UnitPowerLawSuffStat
source§impl SuffStat<f32> for UnitPowerLawSuffStat
impl SuffStat<f32> for UnitPowerLawSuffStat
source§fn observe_many(&mut self, xs: &[f32])
fn observe_many(&mut self, xs: &[f32])
Assimilate several observations
source§fn forget_many(&mut self, xs: &[f32])
fn forget_many(&mut self, xs: &[f32])
Forget several observations
source§impl SuffStat<f64> for UnitPowerLawSuffStat
impl SuffStat<f64> for UnitPowerLawSuffStat
source§fn observe_many(&mut self, xs: &[f64])
fn observe_many(&mut self, xs: &[f64])
Assimilate several observations
source§fn forget_many(&mut self, xs: &[f64])
fn forget_many(&mut self, xs: &[f64])
Forget several observations
impl StructuralPartialEq for UnitPowerLawSuffStat
Auto Trait Implementations§
impl Freeze for UnitPowerLawSuffStat
impl RefUnwindSafe for UnitPowerLawSuffStat
impl Send for UnitPowerLawSuffStat
impl Sync for UnitPowerLawSuffStat
impl Unpin for UnitPowerLawSuffStat
impl UnwindSafe for UnitPowerLawSuffStat
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.