Trait editor2::CollaborationHub
source · pub trait CollaborationHub {
// Required methods
fn collaborators<'a>(
&self,
cx: &'a AppContext
) -> &'a HashMap<PeerId, Collaborator>;
fn user_participant_indices<'a>(
&self,
cx: &'a AppContext
) -> &'a HashMap<u64, ParticipantIndex>;
}