Struct language2::DiagnosticSet
source · pub struct DiagnosticSet { /* private fields */ }
Implementations§
source§impl DiagnosticSet
impl DiagnosticSet
pub fn from_sorted_entries<I>(iter: I, buffer: &BufferSnapshot) -> Selfwhere I: IntoIterator<Item = DiagnosticEntry<Anchor>>,
pub fn new<I>(iter: I, buffer: &BufferSnapshot) -> Selfwhere I: IntoIterator<Item = DiagnosticEntry<PointUtf16>>,
pub fn len(&self) -> usize
pub fn iter(&self) -> impl Iterator<Item = &DiagnosticEntry<Anchor>>
pub fn range<'a, T, O>( &'a self, range: Range<T>, buffer: &'a BufferSnapshot, inclusive: bool, reversed: bool ) -> impl 'a + Iterator<Item = DiagnosticEntry<O>>where T: 'a + ToOffset, O: FromAnchor,
pub fn groups( &self, language_server_id: LanguageServerId, output: &mut Vec<(LanguageServerId, DiagnosticGroup<Anchor>)>, buffer: &BufferSnapshot )
pub fn group<'a, O: FromAnchor>( &'a self, group_id: usize, buffer: &'a BufferSnapshot ) -> impl 'a + Iterator<Item = DiagnosticEntry<O>>
Trait Implementations§
source§impl Clone for DiagnosticSet
impl Clone for DiagnosticSet
source§fn clone(&self) -> DiagnosticSet
fn clone(&self) -> DiagnosticSet
Returns a copy 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 moresource§impl Debug for DiagnosticSet
impl Debug for DiagnosticSet
source§impl Default for DiagnosticSet
impl Default for DiagnosticSet
source§fn default() -> DiagnosticSet
fn default() -> DiagnosticSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DiagnosticSet
impl Send for DiagnosticSet
impl Sync for DiagnosticSet
impl Unpin for DiagnosticSet
impl UnwindSafe for DiagnosticSet
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