rustdoc::html::render::write_shared

Type Alias SearchIndexPart

Source
type SearchIndexPart = Part<SearchIndex, EscapedJson>;

Aliased Type§

struct SearchIndexPart {
    _artifact: PhantomData<SearchIndex>,
    item: EscapedJson,
}

Fields§

§_artifact: PhantomData<SearchIndex>§item: EscapedJson

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: 24 bytes

Implementations

Source§

impl Part<SearchIndex, EscapedJson>

Source

fn blank() -> SortedTemplate<<Self as CciPart>::FileFormat>

Source

fn get( search_index: OrderedJson, resource_suffix: &str, ) -> Result<PartsAndLocations<Self>, Error>

Trait Implementations

Source§

impl CciPart for Part<SearchIndex, EscapedJson>

Source§

type FileFormat = Js

Identifies the file format of the cross-crate information
Source§

fn from_crate_info(crate_info: &CrateInfo) -> &PartsAndLocations<Self>

Source§

impl<T: Clone, U: Clone> Clone for Part<T, U>

Source§

fn clone(&self) -> Part<T, U>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T: Debug, U: Debug> Debug for Part<T, U>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de, T, U> Deserialize<'de> for Part<T, U>
where U: Deserialize<'de>,

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<T, U: Display> Display for Part<T, U>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Writes serialized JSON

Source§

impl<T, U> Serialize for Part<T, U>
where U: Serialize,

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more