pub struct MyOpinions<V> {
pub state: StateOpinions<V>,
pub ded: DeducedOpinions<V>,
pub fixed: FixedOpinions<V>,
}Fields§
§state: StateOpinions<V>§ded: DeducedOpinions<V>§fixed: FixedOpinions<V>Implementations§
Source§impl<V> MyOpinions<V>where
V: MyFloat,
impl<V> MyOpinions<V>where
V: MyFloat,
pub fn receive<'a>( &'a mut self, p: &'a InfoContent<'_, V>, trusts: Trusts<V>, ) -> MyOpinionsUpd<'a, V>
fn predict( &mut self, p: &InfoContent<'_, V>, trusts: &Trusts<V>, ) -> (PredDiffOpinions<V>, PredDeducedOpinions<V>)
Trait Implementations§
Source§impl<V: Debug> Debug for MyOpinions<V>
impl<V: Debug> Debug for MyOpinions<V>
Source§impl<V: Default> Default for MyOpinions<V>
impl<V: Default> Default for MyOpinions<V>
Source§fn default() -> MyOpinions<V>
fn default() -> MyOpinions<V>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<V> Freeze for MyOpinions<V>where
V: Freeze,
impl<V> RefUnwindSafe for MyOpinions<V>where
V: RefUnwindSafe,
impl<V> Send for MyOpinions<V>where
V: Send,
impl<V> Sync for MyOpinions<V>where
V: Sync,
impl<V> Unpin for MyOpinions<V>where
V: Unpin,
impl<V> UnwindSafe for MyOpinions<V>where
V: UnwindSafe,
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
§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