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

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

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