aboutsummaryrefslogtreecommitdiff
path: root/azalea-brigadier/src/modifier.rs
blob: 90be22db284b91702fa4448af45a37edd27d758f (plain)
1
2
3
4
5
6
use std::sync::Arc;

use crate::{context::CommandContext, errors::CommandSyntaxError};

pub type RedirectModifier<S, R> =
    dyn Fn(&CommandContext<S, R>) -> Result<Vec<Arc<S>>, CommandSyntaxError> + Send + Sync;