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

An archived SourceFile

Fields

name: Archived<FileName>

The archived counterpart of SourceFile::name

name_was_remapped: Archived<bool>

The archived counterpart of SourceFile::name_was_remapped

unmapped_path: Archived<Option<FileName>>

The archived counterpart of SourceFile::unmapped_path

crate_of_origin: Archived<u32>

The archived counterpart of SourceFile::crate_of_origin

src: Archived<Lrc<String>>

The archived counterpart of SourceFile::src

src_hash: Archived<u128>

The archived counterpart of SourceFile::src_hash

start_pos: Archived<BytePos>

The archived counterpart of SourceFile::start_pos

end_pos: Archived<BytePos>

The archived counterpart of SourceFile::end_pos

lines: Archived<Vec<BytePos>>

The archived counterpart of SourceFile::lines

multibyte_chars: Archived<Vec<MultiByteChar>>

The archived counterpart of SourceFile::multibyte_chars

non_narrow_chars: Archived<Vec<NonNarrowChar>>

The archived counterpart of SourceFile::non_narrow_chars

name_hash: Archived<u128>

The archived counterpart of SourceFile::name_hash

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