pub enum InverseLink {
Standard(StandardLink),
LatentCLogLog(LatentCLogLogState),
Sas(SasLinkState),
BetaLogistic(SasLinkState),
Mixture(MixtureLinkState),
}Expand description
Parameterized inverse-link selector used where mu/derivatives are evaluated.
Variants§
Standard(StandardLink)
LatentCLogLog(LatentCLogLogState)
Sas(SasLinkState)
BetaLogistic(SasLinkState)
Mixture(MixtureLinkState)
Implementations§
Source§impl InverseLink
impl InverseLink
pub const fn link_function(&self) -> LinkFunction
pub const fn mixture_state(&self) -> Option<&MixtureLinkState>
pub const fn sas_state(&self) -> Option<&SasLinkState>
pub const fn latent_cloglog_state(&self) -> Option<&LatentCLogLogState>
Sourcepub const fn has_fisher_weight_jet(&self) -> bool
pub const fn has_fisher_weight_jet(&self) -> bool
Whether this inverse link exposes the Fisher-weight jet consumed by higher-order Firth/Jeffreys corrections.
The numerical jet evaluation lives in gam-solve; the capability is a
property of the link vocabulary and therefore belongs here with the
variants it classifies.
Trait Implementations§
Source§impl Clone for InverseLink
impl Clone for InverseLink
Source§fn clone(&self) -> InverseLink
fn clone(&self) -> InverseLink
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 InverseLink
impl Debug for InverseLink
Source§impl<'de> Deserialize<'de> for InverseLink
impl<'de> Deserialize<'de> for InverseLink
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 PartialEq for InverseLink
impl PartialEq for InverseLink
Source§impl Serialize for InverseLink
impl Serialize for InverseLink
impl StructuralPartialEq for InverseLink
Auto Trait Implementations§
impl Freeze for InverseLink
impl RefUnwindSafe for InverseLink
impl Send for InverseLink
impl Sync for InverseLink
impl Unpin for InverseLink
impl UnsafeUnpin for InverseLink
impl UnwindSafe for InverseLink
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