aboutsummaryrefslogtreecommitdiff
path: root/azalea-brigadier/src/context/suggestion_context.rs
blob: ed3dbfa22ffa4c4b0eb90f50d1ac284517ed6111 (plain)
1
2
3
4
5
6
7
8
9
10
11
use std::sync::Arc;

use parking_lot::RwLock;

use crate::tree::CommandNode;

#[derive(Debug)]
pub struct SuggestionContext<S, R> {
    pub parent: Arc<RwLock<CommandNode<S, R>>>,
    pub start_pos: usize,
}