Struct zed2::languages::ChunkSummary
source · pub struct ChunkSummary { /* private fields */ }
Trait Implementations§
source§impl Clone for ChunkSummary
impl Clone for ChunkSummary
source§fn clone(&self) -> ChunkSummary
fn clone(&self) -> ChunkSummary
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 ChunkSummary
impl Debug for ChunkSummary
source§impl Default for ChunkSummary
impl Default for ChunkSummary
source§fn default() -> ChunkSummary
fn default() -> ChunkSummary
Returns the “default value” for a type. Read more
source§impl<'a> Dimension<'a, ChunkSummary> for OffsetUtf16
impl<'a> Dimension<'a, ChunkSummary> for OffsetUtf16
fn add_summary(&mut self, summary: &'a ChunkSummary, _: &())
fn from_summary(summary: &'a S, cx: &<S as Summary>::Context) -> Self
source§impl<'a> Dimension<'a, ChunkSummary> for Point
impl<'a> Dimension<'a, ChunkSummary> for Point
fn add_summary(&mut self, summary: &'a ChunkSummary, _: &())
fn from_summary(summary: &'a S, cx: &<S as Summary>::Context) -> Self
source§impl<'a> Dimension<'a, ChunkSummary> for PointUtf16
impl<'a> Dimension<'a, ChunkSummary> for PointUtf16
fn add_summary(&mut self, summary: &'a ChunkSummary, _: &())
fn from_summary(summary: &'a S, cx: &<S as Summary>::Context) -> Self
source§impl<'a> Dimension<'a, ChunkSummary> for TextSummary
impl<'a> Dimension<'a, ChunkSummary> for TextSummary
fn add_summary(&mut self, summary: &'a ChunkSummary, _: &())
fn from_summary(summary: &'a S, cx: &<S as Summary>::Context) -> Self
source§impl<'a, T> Dimension<'a, ChunkSummary> for Unclipped<T>where
T: Dimension<'a, ChunkSummary>,
impl<'a, T> Dimension<'a, ChunkSummary> for Unclipped<T>where T: Dimension<'a, ChunkSummary>,
fn add_summary(&mut self, summary: &'a ChunkSummary, _: &())
fn from_summary(summary: &'a S, cx: &<S as Summary>::Context) -> Self
source§impl<'a> Dimension<'a, ChunkSummary> for usize
impl<'a> Dimension<'a, ChunkSummary> for usize
fn add_summary(&mut self, summary: &'a ChunkSummary, _: &())
fn from_summary(summary: &'a S, cx: &<S as Summary>::Context) -> Self
source§impl<'a> From<&'a str> for ChunkSummary
impl<'a> From<&'a str> for ChunkSummary
source§fn from(text: &'a str) -> ChunkSummary
fn from(text: &'a str) -> ChunkSummary
Converts to this type from the input type.
source§impl PartialEq<ChunkSummary> for ChunkSummary
impl PartialEq<ChunkSummary> for ChunkSummary
source§fn eq(&self, other: &ChunkSummary) -> bool
fn eq(&self, other: &ChunkSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Summary for ChunkSummary
impl Summary for ChunkSummary
type Context = ()
fn add_summary(&mut self, summary: &ChunkSummary, _: &())
impl Eq for ChunkSummary
impl StructuralEq for ChunkSummary
impl StructuralPartialEq for ChunkSummary
Auto Trait Implementations§
impl RefUnwindSafe for ChunkSummary
impl Send for ChunkSummary
impl Sync for ChunkSummary
impl Unpin for ChunkSummary
impl UnwindSafe for ChunkSummary
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
§impl<'a, T> Dimension<'a, T> for Twhere
T: Summary,
impl<'a, T> Dimension<'a, T> for Twhere T: Summary,
fn add_summary(&mut self, summary: &'a T, cx: &<T as Summary>::Context)
fn from_summary(summary: &'a S, cx: &<S as Summary>::Context) -> Self
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.