FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    Diagnostic

    struct · ferroui-static-view-locator-build · v0.5.0

    struct Diagnostic
    

    A diagnostic of the generator, with the place in the Rust source when there is one.

    View source

    Members

    code

    code: &'static str
    

    SVL0001 to SVL0010.

    Source

    severity

    severity: Severity
    

    Source

    message

    message: String
    

    Source

    file

    file: Option<std::path::PathBuf>
    

    The file, when the diagnostic is about an item of the sources.

    Source

    line

    line: usize
    

    The line, from 1; 0 when the diagnostic is about the file.

    Source

    cargo_line

    fn cargo_line(self: &Self) -> String
    

    The diagnostic as a line of Cargo (cargo::error=.. or cargo::warning=..).

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ToString
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Display

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.