lsp_core/feature/
inlay.rs1use bevy_ecs::{component::Component, schedule::ScheduleLabel, world::World};
2use derive_more::{AsMut, AsRef, Deref, DerefMut};
3
4#[derive(Component, AsRef, Deref, AsMut, DerefMut, Debug)]
6pub struct InlayRequest(pub Option<Vec<crate::lsp_types::InlayHint>>);
7
8#[derive(ScheduleLabel, Clone, Eq, PartialEq, Debug, Hash)]
10pub struct Label;
11pub fn setup_schedule(world: &mut World) {
12 let inlay = bevy_ecs::schedule::Schedule::new(Label);
13 world.add_schedule(inlay);
15}