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

use crate::{context::CommandContext, exceptions::CommandSyntaxException};

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