pub type Predicates<'tcx> = Cow<'tcx, [(Clause<'tcx>, Span)]>;Aliased Type§
pub enum Predicates<'tcx> {
Borrowed(&'tcx [(Clause<'tcx>, Span)]),
Owned(Vec<(Clause<'tcx>, Span)>),
}Variants§
Borrowed(&'tcx [(Clause<'tcx>, Span)])
Borrowed data.
Owned(Vec<(Clause<'tcx>, Span)>)
Owned data.
Trait Implementations§
Source§impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, GenericPredicates> for Predicates<'tcx>
Available on crate feature rustc only.
impl<'tcx, S: UnderOwnerState<'tcx>> SInto<S, GenericPredicates> for Predicates<'tcx>
Available on crate feature
rustc only.