pub fn bound<T>(&mut self, name: &str, ty: T) -> &mut Self
    where
        T: Into<Type>,
    {
        self.bounds.push(Bound {
            name: name.to_string(),
            bound: vec![ty.into()],
        });
        self
    }
/// Add a `where` bound to the impl block.
Add a `where` bound to the impl block.
Add a ` where ` bound to the impl block .
pub fn bound<T>(&mut self, name: &str, ty: T) -> &mut Self
    where
        T: Into<Type>,
    {
        self.bounds.push(Bound {
            name: name.to_string(),
            bound: vec![ty.into()],
        });
        self
    }
pub fn bound < T > ( & mut self , name : & str , ty : T ) -> & mut Self where T : Into < Type > , { self . bounds . push ( Bound { name : name . to_string ( ) , bound : vec ! [ ty into ( ) ] , } ) ; self }
Add a `where` bound to the impl block.
Add a ` where ` bound to the impl block .
&mut self
name
&str
ty
T
&mut self
name
&str
ty
T