Enum rustc_hir::SyntheticTyParamKind [−][src]
pub enum SyntheticTyParamKind {
ImplTrait,
FromAttr,
}
Expand description
Synthetic type parameters are converted to another form during lowering; this allows us to track the original form they had, and is useful for error messages.
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SyntheticTyParamKind
impl Send for SyntheticTyParamKind
impl Sync for SyntheticTyParamKind
impl Unpin for SyntheticTyParamKind
impl UnwindSafe for SyntheticTyParamKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
ImplTrait
: 0 bytesFromAttr
: 0 bytes