Modules§
Macros§
- arg
- Macro to create a FnArg. Second arg is a expr that evaluates to a string. Optionally takes a default. arg!(count: “int” = 500)
- import
- import!(“bytes”, a, b, c); import!(“bytes”); import!(“bytes::”); import!(pub “bytes::”);
- lit
- A literal value.
- targ
- Macro to create a FnArg. Called targ because the type is a TokenStream (specifically a path), rather than a &str. targ!(access_token: String)
Structs§
- Class
- Doc
- Enum
- Field
- File
- Function
- Ident
- Localized string
- Import
- Import
Item - Interface
- Literal
- Module
- NewType
- Variant
Enums§
Functions§
- build_
dict - Build keys wrapped in braces, e.g. {“a”: 1, “b”: 2}
- build_
struct - Build something wrapped in braces, { A, B, C }