struct TypeData {
search_unbox: bool,
inverted_function_inputs_index: Vec<Vec<u32>>,
inverted_function_output_index: Vec<Vec<u32>>,
}
Fields§
§search_unbox: bool
If set to “true”, the generics can be matched without having to
mention the type itself. The truth table, assuming Unboxable
has search_unbox = true
and Inner
has search_unbox = false
query | Unboxable<Inner> | Inner | Inner<Unboxable> |
---|---|---|---|
Inner | yes | yes | yes |
Unboxable | yes | no | no |
Unboxable<Inner> | yes | no | no |
Inner<Unboxable> | no | no | yes |
inverted_function_inputs_index: Vec<Vec<u32>>
List of functions that mention this type in their type signature,
on the left side of the ->
arrow.
-
The outer layer is sorted by number of types that appear in the type signature. The search engine iterates over these in order from smallest to largest. Functions with less stuff in their type signature are more likely to be what the user wants, because we never show functions that are missing parts of the query, so removing..
-
The inner layer is the list of functions.
inverted_function_output_index: Vec<Vec<u32>>
List of functions that mention this type in their type signature,
on the right side of the ->
arrow.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TypeData
impl<'de> Deserialize<'de> for TypeData
Source§fn deserialize<D>(deserializer: D) -> Result<TypeData, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<TypeData, D::Error>where
D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for TypeData
impl RefUnwindSafe for TypeData
impl Send for TypeData
impl Sync for TypeData
impl Unpin for TypeData
impl UnwindSafe for TypeData
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
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>
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>
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§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes