Struct aster::item::ItemTraitBuilder
[−]
[src]
pub struct ItemTraitBuilder<F> { /* fields omitted */ }
pub struct ItemTraitBuilder<F> { /* fields omitted */ }
impl<F> ItemTraitBuilder<F> where F: Invoke<P<Item>>
[src]fn unsafe_(self) -> Self
fn with_generics(self, generics: Generics) -> Self
fn generics(self) -> GenericsBuilder<Self>
fn with_bounds<I>(self, iter: I) -> Self where I: Iterator<Item=TyParamBound>
fn with_bound(self, bound: TyParamBound) -> Self
fn bound(self) -> TyParamBoundBuilder<Self>
fn with_items<I>(self, items: I) -> Self where I: IntoIterator<Item=TraitItem>
fn with_item(self, item: TraitItem) -> Self
fn item<T>(self, id: T) -> ItemTraitItemBuilder<Self> where T: ToIdent
fn const_<T>(self, id: T) -> ConstBuilder<ItemTraitItemBuilder<Self>> where T: ToIdent
fn method<T>(self, id: T) -> MethodSigBuilder<ItemTraitItemBuilder<Self>> where T: ToIdent
fn type_<T>(self, id: T) -> ItemTraitTypeBuilder<Self> where T: ToIdent
fn build(self) -> F::Result
impl<F> Invoke<Generics> for ItemTraitBuilder<F> where F: Invoke<P<Item>>
[src]impl<F> Invoke<TyParamBound> for ItemTraitBuilder<F> where F: Invoke<P<Item>>
[src]type Result = Self
fn invoke(self, bound: TyParamBound) -> Self
impl<F> Invoke<TraitItem> for ItemTraitBuilder<F> where F: Invoke<P<Item>>
[src]