Enum rustfmt_nightly::types::SegmentParam [−][src]
pub(crate) enum SegmentParam<'a> {
Const(&'a AnonConst),
LifeTime(&'a Lifetime),
Type(&'a Ty),
Binding(&'a AssocTyConstraint),
}Variants
Const(&'a AnonConst)Tuple Fields of Const
0: &'a AnonConstLifeTime(&'a Lifetime)Tuple Fields of LifeTime
0: &'a LifetimeType(&'a Ty)Tuple Fields of Type
0: &'a TyBinding(&'a AssocTyConstraint)Tuple Fields of Binding
0: &'a AssocTyConstraintImplementations
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SegmentParam<'a>
impl<'a> !Send for SegmentParam<'a>
impl<'a> !Sync for SegmentParam<'a>
impl<'a> Unpin for SegmentParam<'a>
impl<'a> !UnwindSafe for SegmentParam<'a>
Blanket Implementations
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: 16 bytes
Size for each variant:
Const: 8 bytesLifeTime: 8 bytesType: 8 bytesBinding: 8 bytes