Struct aster::method::MethodBuilder
[−]
[src]
pub struct MethodBuilder<F = Identity> {
// some fields omitted
}pub struct MethodBuilder<F = Identity> {
// some fields omitted
}impl MethodBuilderimpl<F> MethodBuilder<F> where F: Invoke<P<ImplItem>>fn new_with_callback<I>(id: I, callback: F) -> Self where I: ToIdentfn span(self, span: Span) -> Selffn with_attr(self, attr: Attribute) -> Selffn attr(self) -> AttrBuilder<Self>fn unsafe_(self) -> Selffn abi(self, abi: Abi) -> Selffn vis(self, vis: Visibility) -> Selffn with_generics(self, generics: Generics) -> Selffn generics(self) -> GenericsBuilder<Self>fn self_(self) -> SelfBuilder<Self>impl<F> Invoke<Attribute> for MethodBuilder<F> where F: Invoke<P<ImplItem>>impl<F> Invoke<Generics> for MethodBuilder<F> where F: Invoke<P<ImplItem>>impl<F> Invoke<ExplicitSelf> for MethodBuilder<F> where F: Invoke<P<ImplItem>>type Result = MethodSelfBuilder<F>fn invoke(self, explicit_self: ExplicitSelf) -> MethodSelfBuilder<F>
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).
Search functions by type signature (e.g.
vec -> usize)