Struct aster::lit::LitBuilder
[−]
[src]
pub struct LitBuilder<F = Identity> { // some fields omitted }
pub struct LitBuilder<F = Identity> { // some fields omitted }
impl LitBuilder
fn new() -> LitBuilder
impl<F> LitBuilder<F> where F: Invoke<P<Lit>>
fn new_with_callback(callback: F) -> Self
fn span(self, span: Span) -> LitBuilder<F>
fn build_lit(self, lit: Lit_) -> F::Result
fn bool(self, value: bool) -> F::Result
fn int(self, value: i64) -> F::Result
fn isize(self, value: isize) -> F::Result
fn i8(self, value: i8) -> F::Result
fn i16(self, value: i16) -> F::Result
fn i32(self, value: i32) -> F::Result
fn i64(self, value: i64) -> F::Result
fn usize(self, value: usize) -> F::Result
fn u8(self, value: u8) -> F::Result
fn u16(self, value: u16) -> F::Result
fn u32(self, value: u32) -> F::Result
fn u64(self, value: u64) -> F::Result
fn str<S>(self, value: S) -> F::Result where S: ToInternedString
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
)