pub enum LinkComponent {
Probit,
Logit,
CLogLog,
LogLog,
Cauchit,
}Expand description
Supported inverse-link components for convex blended inverse links.
Variants§
Implementations§
Source§impl LinkComponent
impl LinkComponent
pub const fn name(self) -> &'static str
Sourcepub const fn as_standard_link(self) -> StandardLink
pub const fn as_standard_link(self) -> StandardLink
The standalone link this mixture component IS.
Every component of a blended link is one of the standard bounded links, so anything defined per standard link — a cancellation-free tail complement, for instance — applies to a component unchanged. Making the correspondence a method rather than a match at each use site is what keeps a new component from silently acquiring a default.
Trait Implementations§
Source§impl Clone for LinkComponent
impl Clone for LinkComponent
Source§fn clone(&self) -> LinkComponent
fn clone(&self) -> LinkComponent
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 moreimpl Copy for LinkComponent
Source§impl Debug for LinkComponent
impl Debug for LinkComponent
Source§impl<'de> Deserialize<'de> for LinkComponent
impl<'de> Deserialize<'de> for LinkComponent
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
impl Eq for LinkComponent
Source§impl PartialEq for LinkComponent
impl PartialEq for LinkComponent
Source§impl Serialize for LinkComponent
impl Serialize for LinkComponent
impl StructuralPartialEq for LinkComponent
Auto Trait Implementations§
impl Freeze for LinkComponent
impl RefUnwindSafe for LinkComponent
impl Send for LinkComponent
impl Sync for LinkComponent
impl Unpin for LinkComponent
impl UnsafeUnpin for LinkComponent
impl UnwindSafe for LinkComponent
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