Enum clang::SizeofError [−][src]
pub enum SizeofError { Dependent, Incomplete, VariableSize, }
Indicates the error that prevented determining the size of a type.
Variants
Dependent
The type is a dependent type.
Incomplete
The type is an incomplete type.
VariableSize
The type is a variable size type.
Trait Implementations
impl Copy for SizeofError
[src]
impl Copy for SizeofError
impl Clone for SizeofError
[src]
impl Clone for SizeofError
fn clone(&self) -> SizeofError
[src]
fn clone(&self) -> SizeofError
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for SizeofError
[src]
impl Debug for SizeofError
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 SizeofError
[src]
impl PartialEq for SizeofError
fn eq(&self, other: &SizeofError) -> bool
[src]
fn eq(&self, other: &SizeofError) -> 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
1.0.0
[src]This method tests for !=
.
impl Eq for SizeofError
[src]
impl Eq for SizeofError
impl Hash for SizeofError
[src]
impl Hash for SizeofError
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,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Error for SizeofError
[src]
impl Error for SizeofError
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>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl From<SizeofError> for String
[src]
impl From<SizeofError> for String
fn from(error: SizeofError) -> String
[src]
fn from(error: SizeofError) -> String
Performs the conversion.
impl Display for SizeofError
[src]
impl Display for SizeofError
Auto Trait Implementations
impl Send for SizeofError
impl Send for SizeofError
impl Sync for SizeofError
impl Sync for SizeofError