pub trait InsertIntoTemplate<'a, T>where
T: Generatable<'a> + 'a,{
type Output: RawAssertable<'a>;
// Required method
fn test<U>(self, ty: U) -> Self::Output
where U: Into<MaybeBorrowed<'a, T::Assert>>;
}
Required Associated Types§
sourcetype Output: RawAssertable<'a>
type Output: RawAssertable<'a>
The type of the Assert generated by the Template
Self
Required Methods§
sourcefn test<U>(self, ty: U) -> Self::Outputwhere
U: Into<MaybeBorrowed<'a, T::Assert>>,
fn test<U>(self, ty: U) -> Self::Outputwhere U: Into<MaybeBorrowed<'a, T::Assert>>,
Test some type against the template Self
and turn
it into Self::Output
. So that the type may
either be borrowed or owned, any type that
can be turned into MaybeBorrowed<T::Assert>
Object Safety§
This trait is not object safe.