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
Dependent
The record type is a dependent type.
Incomplete
The record type is an incomplete type.
Name
The record type does not contain a field with the supplied name.
Parent
The record type has an invalid parent declaration.
Trait Implementations
impl Copy for OffsetofError
[src]
impl Copy for OffsetofError
impl Clone for OffsetofError
[src]
impl Clone for OffsetofError
fn clone(&self) -> OffsetofError
[src]
fn clone(&self) -> OffsetofError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for OffsetofError
[src]
impl Debug for OffsetofError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for OffsetofError
[src]
impl PartialEq for OffsetofError
fn eq(&self, other: &OffsetofError) -> bool
[src]
fn eq(&self, other: &OffsetofError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for OffsetofError
[src]
impl Eq for OffsetofError
impl Hash for OffsetofError
[src]
impl Hash for OffsetofError
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Error for OffsetofError
[src]
impl Error for OffsetofError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<OffsetofError> for String
[src]
impl From<OffsetofError> for String
fn from(error: OffsetofError) -> String
[src]
fn from(error: OffsetofError) -> String
Performs the conversion.
impl Display for OffsetofError
[src]
impl Display for OffsetofError
Auto Trait Implementations
impl Send for OffsetofError
impl Send for OffsetofError
impl Sync for OffsetofError
impl Sync for OffsetofError