Struct ligen_core::proc_macro::context::SourceFile[][src]

pub struct SourceFile {
    pub is_real: bool,
    pub path: PathBuf,
}
Expand description

SourceFile struct.

Fields

is_real: bool

If it’s a real file.

path: PathBuf

The source file path.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

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.