Struct distill_importer::SourceMetadata [−][src]
SourceMetadata is the in-memory representation of the .meta file for a (source, .meta) pair.
Fields
version: u32
Metadata struct version
importer_options: Options
The crate::Importer::Options
used to import the source file.
importer_state: State
The crate::Importer::State
generated when importing the source file.
Trait Implementations
impl<'de, Options: 'static, State: 'static> Deserialize<'de> for SourceMetadata<Options, State> where
Options: Deserialize<'de>,
State: Deserialize<'de>,
[src]
Options: Deserialize<'de>,
State: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<Options: 'static, State: 'static> Serialize for SourceMetadata<Options, State> where
Options: Serialize,
State: Serialize,
[src]
Options: Serialize,
State: Serialize,
Auto Trait Implementations
impl<Options, State> RefUnwindSafe for SourceMetadata<Options, State> where
Options: RefUnwindSafe,
State: RefUnwindSafe,
Options: RefUnwindSafe,
State: RefUnwindSafe,
impl<Options, State> Send for SourceMetadata<Options, State> where
Options: Send,
State: Send,
Options: Send,
State: Send,
impl<Options, State> Sync for SourceMetadata<Options, State> where
Options: Sync,
State: Sync,
Options: Sync,
State: Sync,
impl<Options, State> Unpin for SourceMetadata<Options, State> where
Options: Unpin,
State: Unpin,
Options: Unpin,
State: Unpin,
impl<Options, State> UnwindSafe for SourceMetadata<Options, State> where
Options: UnwindSafe,
State: UnwindSafe,
Options: UnwindSafe,
State: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,
pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,