Struct language2::operation_queue::OperationSummary
source · pub struct OperationSummary {
pub key: OperationKey,
pub len: usize,
}
Fields§
§key: OperationKey
§len: usize
Trait Implementations§
source§impl<'a> Add<&'a OperationSummary> for OperationSummary
impl<'a> Add<&'a OperationSummary> for OperationSummary
§type Output = OperationSummary
type Output = OperationSummary
The resulting type after applying the
+
operator.source§fn add(self, other: &OperationSummary) -> OperationSummary
fn add(self, other: &OperationSummary) -> OperationSummary
Performs the
+
operation. Read moresource§impl Clone for OperationSummary
impl Clone for OperationSummary
source§fn clone(&self) -> OperationSummary
fn clone(&self) -> OperationSummary
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 OperationSummary
impl Debug for OperationSummary
source§impl Default for OperationSummary
impl Default for OperationSummary
source§fn default() -> OperationSummary
fn default() -> OperationSummary
Returns the “default value” for a type. Read more
source§impl<'a> Dimension<'a, OperationSummary> for OperationKey
impl<'a> Dimension<'a, OperationSummary> for OperationKey
fn add_summary(&mut self, summary: &OperationSummary, _: &())
fn from_summary(summary: &'a S, cx: &<S as Summary>::Context) -> Self
source§impl PartialEq<OperationSummary> for OperationSummary
impl PartialEq<OperationSummary> for OperationSummary
source§fn eq(&self, other: &OperationSummary) -> bool
fn eq(&self, other: &OperationSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Summary for OperationSummary
impl Summary for OperationSummary
type Context = ()
fn add_summary(&mut self, other: &OperationSummary, _: &())
impl Copy for OperationSummary
impl Eq for OperationSummary
impl StructuralEq for OperationSummary
impl StructuralPartialEq for OperationSummary
Auto Trait Implementations§
impl RefUnwindSafe for OperationSummary
impl Send for OperationSummary
impl Sync for OperationSummary
impl Unpin for OperationSummary
impl UnwindSafe for OperationSummary
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<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere T: Default + PartialEq<T> + Copy,
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.