pub struct LearnedPaths<__R> {
pub enabled: <bool as Model>::Paths<__R>,
pub known: <Vec<String> as Model>::Paths<__R>,
pub shown: <BTreeMap<String, u8> as Model>::Paths<__R>,
/* private fields */
}Expand description
The typed paths into a Learned, one per field.
Fields§
§enabled: <bool as Model>::Paths<__R>§known: <Vec<String> as Model>::Paths<__R>§shown: <BTreeMap<String, u8> as Model>::Paths<__R>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<__R> Forget for LearnedPaths<__R>
impl<__R> Freeze for LearnedPaths<__R>
impl<__R> Move for LearnedPaths<__R>
impl<__R> RefUnwindSafe for LearnedPaths<__R>where
<bool as Model>::Paths<__R>: RefUnwindSafe,
<Vec<String> as Model>::Paths<__R>: RefUnwindSafe,
<BTreeMap<String, u8> as Model>::Paths<__R>: RefUnwindSafe,
Path<__R, Learned>: RefUnwindSafe,
impl<__R> Send for LearnedPaths<__R>
impl<__R> Sync for LearnedPaths<__R>
impl<__R> Unpin for LearnedPaths<__R>
impl<__R> UnsafeUnpin for LearnedPaths<__R>where
<bool as Model>::Paths<__R>: UnsafeUnpin,
<Vec<String> as Model>::Paths<__R>: UnsafeUnpin,
<BTreeMap<String, u8> as Model>::Paths<__R>: UnsafeUnpin,
Path<__R, Learned>: UnsafeUnpin,
impl<__R> UnwindSafe for LearnedPaths<__R>where
<bool as Model>::Paths<__R>: UnwindSafe,
<Vec<String> as Model>::Paths<__R>: UnwindSafe,
<BTreeMap<String, u8> as Model>::Paths<__R>: UnwindSafe,
Path<__R, Learned>: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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