Struct zed2::languages::subscription::Topic
source · pub struct Topic(_);
Implementations§
source§impl Topic
impl Topic
pub fn subscribe(&mut self) -> Subscription
pub fn publish(&self, edits: impl Clone + IntoIterator<Item = Edit<usize>>)
pub fn publish_mut( &mut self, edits: impl Clone + IntoIterator<Item = Edit<usize>> )
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl !UnwindSafe for Topic
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