Enum repc::ErrorType [−][src]
The type of an error produced by this crate.
Variants (Non-exhaustive)
A builtin type was annotated.
Builtin types cannot be annotated. You probably want to annotate a typedef of the builtin type.
An opaque type was annotated.
Opaque types cannot be annotated.
An array was annotated.
Arrays cannot be annotated. You probably want to annotate a typedef of the array.
The size of the type cannot be represented in u64
.
One of the alignments given in the input is not a power of two.
One of the alignments given in the input is not at least 8.
The size of an opaque type is not a multiple of 8.
A type has multiple PragmaPack
annotations.
A zero-sized bit-field is named.
Zero-sized bitfields must be unnamed.
A regular field is unnamed.
Only bit-fields can be unnamed.
One of the bit-fields in the input has a width larger than the size of its type.
A field has a PragmaPack
annotation.
Fields cannot have PragmaPack
annotations.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorType
[src]
impl Send for ErrorType
[src]
impl Sync for ErrorType
[src]
impl Unpin for ErrorType
[src]
impl UnwindSafe for ErrorType
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,