Enum clang::OffsetofError [] [src]

pub enum OffsetofError {
    Dependent,
    Incomplete,
    Name,
    Parent,
}

Indicates the error that prevented determining the offset of a field in a record type.

Variants

The record type is a dependent type.

The record type is an incomplete type.

The record type does not contain a field with the supplied name.

The record type has an invalid parent declaration.

Trait Implementations

impl Copy for OffsetofError
[src]

impl Clone for OffsetofError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for OffsetofError
[src]

Formats the value using the given formatter.

impl PartialEq for OffsetofError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for OffsetofError
[src]

impl Hash for OffsetofError
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Error for OffsetofError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for OffsetofError
[src]

Formats the value using the given formatter. Read more