Functionsยง
- gen_
constructor - Generate a constructor method.
- gen_
impl_ block - Generate a full methods impl block (non-opaque types).
- gen_
method - Generate an instance method.
- gen_
opaque_ impl_ block - Generate a full impl block for an opaque type, delegating methods to
self.inner. - gen_
static_ method - Generate a static method.
- is_
trait_ method_ name - Returns true when
namematches a known trait method that would triggerclippy::should_implement_trait.