Struct clang::diagnostic::Diagnostic [] [src]

pub struct Diagnostic<'tu> { /* fields omitted */ }

A message from the compiler about an issue with a source file.

Methods

impl<'tu> Diagnostic<'tu>
[src]

[src]

Returns the severity of this diagnostic.

[src]

Returns the text of this diagnostic.

[src]

Returns the source location of this diagnostic.

Important traits for Vec<u8>
[src]

Returns the source ranges of this diagnostic.

Important traits for Vec<u8>
[src]

Returns the fix-its for this diagnostic.

Important traits for Vec<u8>
[src]

Returns the child diagnostics of this diagnostic.

[src]

Returns a diagnostic formatter that builds a formatted string from this diagnostic.

Trait Implementations

impl<'tu> Copy for Diagnostic<'tu>
[src]

impl<'tu> Clone for Diagnostic<'tu>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'tu> PartialOrd for Diagnostic<'tu>
[src]

Orders by severity.

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.0.0
[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'tu> Debug for Diagnostic<'tu>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'tu> Display for Diagnostic<'tu>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'tu> !Send for Diagnostic<'tu>

impl<'tu> !Sync for Diagnostic<'tu>