#[repr(C,)]
pub struct ArchivedSourceFile where
    FileName: Archive,
    bool: Archive,
    Option<FileName>: Archive,
    u32: Archive,
    Rc<String>: Archive,
    u128: Archive,
    BytePos: Archive,
    Vec<BytePos, Global>: Archive,
    Vec<MultiByteChar, Global>: Archive,
    Vec<NonNarrowChar, Global>: Archive, 
{ pub name: <FileName as Archive>::Archived, pub name_was_remapped: <bool as Archive>::Archived, pub unmapped_path: <Option<FileName> as Archive>::Archived, pub crate_of_origin: <u32 as Archive>::Archived, pub src: <Rc<String> as Archive>::Archived, pub src_hash: <u128 as Archive>::Archived, pub start_pos: <BytePos as Archive>::Archived, pub end_pos: <BytePos as Archive>::Archived, pub lines: <Vec<BytePos, Global> as Archive>::Archived, pub multibyte_chars: <Vec<MultiByteChar, Global> as Archive>::Archived, pub non_narrow_chars: <Vec<NonNarrowChar, Global> as Archive>::Archived, pub name_hash: <u128 as Archive>::Archived, }
Expand description

An archived SourceFile

Fields

name: <FileName as Archive>::Archived

The archived counterpart of SourceFile::name

name_was_remapped: <bool as Archive>::Archived

The archived counterpart of SourceFile::name_was_remapped

unmapped_path: <Option<FileName> as Archive>::Archived

The archived counterpart of SourceFile::unmapped_path

crate_of_origin: <u32 as Archive>::Archived

The archived counterpart of SourceFile::crate_of_origin

src: <Rc<String> as Archive>::Archived

The archived counterpart of SourceFile::src

src_hash: <u128 as Archive>::Archived

The archived counterpart of SourceFile::src_hash

start_pos: <BytePos as Archive>::Archived

The archived counterpart of SourceFile::start_pos

end_pos: <BytePos as Archive>::Archived

The archived counterpart of SourceFile::end_pos

lines: <Vec<BytePos, Global> as Archive>::Archived

The archived counterpart of SourceFile::lines

multibyte_chars: <Vec<MultiByteChar, Global> as Archive>::Archived

The archived counterpart of SourceFile::multibyte_chars

non_narrow_chars: <Vec<NonNarrowChar, Global> as Archive>::Archived

The archived counterpart of SourceFile::non_narrow_chars

name_hash: <u128 as Archive>::Archived

The archived counterpart of SourceFile::name_hash

Trait Implementations

The error that may result from checking the type.

Checks whether the given pointer points to a valid value within the given context. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

The archived version of the pointer metadata for this type.

Converts some archived metadata to the pointer metadata for itself.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Deserializes using the given deserializer

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type for metadata in pointers and references to Self.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more