Struct text2::FragmentSummary
source · pub struct FragmentSummary { /* private fields */ }
Trait Implementations§
source§impl Clone for FragmentSummary
impl Clone for FragmentSummary
source§fn clone(&self) -> FragmentSummary
fn clone(&self) -> FragmentSummary
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 FragmentSummary
impl Debug for FragmentSummary
source§impl Default for FragmentSummary
impl Default for FragmentSummary
source§impl<'a> Dimension<'a, FragmentSummary> for FullOffset
impl<'a> Dimension<'a, FragmentSummary> for FullOffset
fn add_summary(&mut self, summary: &FragmentSummary, _: &Option<Global>)
fn from_summary(summary: &'a S, cx: &<S as Summary>::Context) -> Self
source§impl<'a> Dimension<'a, FragmentSummary> for Option<&'a Locator>
impl<'a> Dimension<'a, FragmentSummary> for Option<&'a Locator>
fn add_summary(&mut self, summary: &'a FragmentSummary, _: &Option<Global>)
fn from_summary(summary: &'a S, cx: &<S as Summary>::Context) -> Self
source§impl<'a> Dimension<'a, FragmentSummary> for usize
impl<'a> Dimension<'a, FragmentSummary> for usize
fn add_summary(&mut self, summary: &FragmentSummary, _: &Option<Global>)
fn from_summary(summary: &'a S, cx: &<S as Summary>::Context) -> Self
source§impl PartialEq<FragmentSummary> for FragmentSummary
impl PartialEq<FragmentSummary> for FragmentSummary
source§fn eq(&self, other: &FragmentSummary) -> bool
fn eq(&self, other: &FragmentSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Summary for FragmentSummary
impl Summary for FragmentSummary
impl Eq for FragmentSummary
impl StructuralEq for FragmentSummary
impl StructuralPartialEq for FragmentSummary
Auto Trait Implementations§
impl RefUnwindSafe for FragmentSummary
impl Send for FragmentSummary
impl Sync for FragmentSummary
impl Unpin for FragmentSummary
impl UnwindSafe for FragmentSummary
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.