pub enum InfoContent<'a, V: Clone> {
Misinfo {
op: Cow<'a, OpinionD1<Psi, V>>,
},
Correction {
op: Cow<'a, OpinionD1<Psi, V>>,
misinfo: Cow<'a, OpinionD1<Psi, V>>,
},
Observation {
op: Cow<'a, OpinionD1<O, V>>,
},
Inhibition {
op1: Cow<'a, OpinionD1<Phi, V>>,
op2: Cow<'a, MArrD1<Psi, SimplexD1<H, V>>>,
op3: Cow<'a, MArrD1<B, SimplexD1<H, V>>>,
},
}Variants§
Trait Implementations§
Source§impl<'a, V: Clone + Clone> Clone for InfoContent<'a, V>
impl<'a, V: Clone + Clone> Clone for InfoContent<'a, V>
Source§fn clone(&self) -> InfoContent<'a, V>
fn clone(&self) -> InfoContent<'a, V>
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<'a, V: MyFloat> From<&InfoContent<'a, V>> for InfoLabel
impl<'a, V: MyFloat> From<&InfoContent<'a, V>> for InfoLabel
Source§fn from(value: &InfoContent<'a, V>) -> Self
fn from(value: &InfoContent<'a, V>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a, V> Freeze for InfoContent<'a, V>where
V: Freeze,
impl<'a, V> RefUnwindSafe for InfoContent<'a, V>where
V: RefUnwindSafe,
impl<'a, V> Send for InfoContent<'a, V>
impl<'a, V> Sync for InfoContent<'a, V>where
V: Sync,
impl<'a, V> Unpin for InfoContent<'a, V>where
V: Unpin,
impl<'a, V> UnwindSafe for InfoContent<'a, V>where
V: UnwindSafe + RefUnwindSafe,
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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