dprint_core::formatting::actions

Function action

source
pub fn action(
    name: &'static str,
    action: impl Fn(&mut ConditionResolverContext<'_, '_>) + 'static,
) -> PrintItems