Skip to main content

trait_unit

Function trait_unit 

Source
pub fn trait_unit(
    module: &[String],
    self_ty: &str,
    trait_name: &str,
    f: &str,
) -> String
Expand description

The unit name of a trait method: crate::a::<Item as Trait>::f.