pub struct SyncServerHandle { /* private fields */ }Expand description
A cloneable handle to trigger spotlight events from external components (like MCP).
Implementations§
Source§impl SyncServerHandle
impl SyncServerHandle
Sourcepub fn spotlight_node(&self, node_id: &str, file: &str, line: u32)
pub fn spotlight_node(&self, node_id: &str, file: &str, line: u32)
Triggers a spotlight on a specific node.
Sourcepub fn graph(&self) -> SharedGraph
pub fn graph(&self) -> SharedGraph
Returns the shared graph for context lookups.
Trait Implementations§
Source§impl Clone for SyncServerHandle
impl Clone for SyncServerHandle
Source§fn clone(&self) -> SyncServerHandle
fn clone(&self) -> SyncServerHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SyncServerHandle
impl !RefUnwindSafe for SyncServerHandle
impl Send for SyncServerHandle
impl Sync for SyncServerHandle
impl Unpin for SyncServerHandle
impl UnsafeUnpin for SyncServerHandle
impl !UnwindSafe for SyncServerHandle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more