WhereRegionPredicate in rustc_ast::ast - Rust (original) (raw)
Struct WhereRegionPredicate
pub struct WhereRegionPredicate {
pub lifetime: Lifetime,
pub bounds: GenericBounds,
}Expand description
A lifetime predicate.
E.g., 'a: 'b + 'c.
Fields§
§lifetime: [Lifetime](struct.Lifetime.html "struct rustc_ast::ast::Lifetime")§bounds: [GenericBounds](type.GenericBounds.html "type rustc_ast::ast::GenericBounds")
Trait Implementations§
impl Clone for WhereRegionPredicate
impl Debug for WhereRegionPredicate
impl<__D: SpanDecoder> Decodable<__D> for WhereRegionPredicate
fn decode(__decoder: &mut __D) -> Self
impl<__E: SpanEncoder> Encodable<__E> for WhereRegionPredicate
fn encode(&self, __encoder: &mut __E)
impl<V: MutVisitor> MutVisitable for WhereRegionPredicate
type Extra = ()
fn visit_mut(&mut self, visitor: &mut V, _extra: Self::Extra) -> V::Result
impl<__V> MutWalkable<__V> for WhereRegionPredicate
fn walk_mut(&mut self, __visitor: &mut __V)
impl<'a, V: Visitor<'a>> Visitable<'a, V> for WhereRegionPredicate
type Extra = ()
fn visit(&'a self, visitor: &mut V, _extra: Self::Extra) -> V::Result
impl<'__ast, __V> Walkable<'__ast, __V> for WhereRegionPredicate
fn walk_ref(&'__ast self, __visitor: &mut __V) -> __V::Result
Auto Trait Implementations§
impl DynSend for WhereRegionPredicate
impl DynSync for WhereRegionPredicate
impl Freeze for WhereRegionPredicate
impl RefUnwindSafe for WhereRegionPredicate
impl Send for WhereRegionPredicate
impl Sync for WhereRegionPredicate
impl Unpin for WhereRegionPredicate
impl UnwindSafe for WhereRegionPredicate
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: 40 bytes