Struct aster::attr::AttrListBuilder
[−]
[src]
pub struct AttrListBuilder<F> { // some fields omitted }
pub struct AttrListBuilder<F> { // some fields omitted }
impl<F> AttrListBuilder<F> where F: Invoke<P<MetaItem>>
fn new_with_callback<T>(name: T, callback: F) -> Self where T: ToInternedString
fn span(self, span: Span) -> Self
fn with_meta_items<I>(self, iter: I) -> Self where I: IntoIterator<Item=P<MetaItem>>
fn with_meta_items_<I>(self, iter: I) -> Self where I: IntoIterator<Item=MetaItem_>
fn with_meta_item(self, item: P<MetaItem>) -> Self
fn with_meta_item_(self, item: MetaItem_) -> Self
fn words<I, T>(self, iter: I) -> Self where I: IntoIterator<Item=T>, T: ToInternedString
fn word<T>(self, word: T) -> Self where T: ToInternedString
fn list<T>(self, name: T) -> AttrListBuilder<Self> where T: ToInternedString
fn name_value<T>(self, name: T) -> LitBuilder<AttrNameValueBuilder<Self>> where T: ToInternedString
fn build(self) -> F::Result
impl<F> Invoke<P<MetaItem>> for AttrListBuilder<F> where F: Invoke<P<MetaItem>>
impl<F> Invoke<MetaItem_> for AttrListBuilder<F> where F: Invoke<P<MetaItem>>
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
)