Struct zed2::languages::FullOffset
source · pub struct FullOffset(pub usize);
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Add<usize> for FullOffset
impl Add<usize> for FullOffset
source§impl AddAssign<usize> for FullOffset
impl AddAssign<usize> for FullOffset
source§fn add_assign(&mut self, rhs: usize)
fn add_assign(&mut self, rhs: usize)
Performs the
+=
operation. Read moresource§impl Clone for FullOffset
impl Clone for FullOffset
source§fn clone(&self) -> FullOffset
fn clone(&self) -> FullOffset
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 FullOffset
impl Debug for FullOffset
source§impl Default for FullOffset
impl Default for FullOffset
source§fn default() -> FullOffset
fn default() -> FullOffset
Returns the “default value” for a type. Read more
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 Hash for FullOffset
impl Hash for FullOffset
source§impl Ord for FullOffset
impl Ord for FullOffset
source§fn cmp(&self, other: &FullOffset) -> Ordering
fn cmp(&self, other: &FullOffset) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<FullOffset> for FullOffset
impl PartialEq<FullOffset> for FullOffset
source§fn eq(&self, other: &FullOffset) -> bool
fn eq(&self, other: &FullOffset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<FullOffset> for FullOffset
impl PartialOrd<FullOffset> for FullOffset
source§fn partial_cmp(&self, other: &FullOffset) -> Option<Ordering>
fn partial_cmp(&self, other: &FullOffset) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Sub<FullOffset> for FullOffset
impl Sub<FullOffset> for FullOffset
source§fn sub(self, rhs: FullOffset) -> <FullOffset as Sub<FullOffset>>::Output
fn sub(self, rhs: FullOffset) -> <FullOffset as Sub<FullOffset>>::Output
Performs the
-
operation. Read moreimpl Copy for FullOffset
impl Eq for FullOffset
impl StructuralEq for FullOffset
impl StructuralPartialEq for FullOffset
Auto Trait Implementations§
impl RefUnwindSafe for FullOffset
impl Send for FullOffset
impl Sync for FullOffset
impl Unpin for FullOffset
impl UnwindSafe for FullOffset
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<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.§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
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.
§impl<K> MapSeekTarget<K> for Kwhere
K: Debug + Ord,
impl<K> MapSeekTarget<K> for Kwhere K: Debug + Ord,
fn cmp_cursor(&self, cursor_location: &K) -> Ordering
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> ResetDiscriminant<T> for Twhere
T: Copy,
impl<T> ResetDiscriminant<T> for Twhere T: Copy,
§fn discriminant(&self) -> T
fn discriminant(&self) -> T
Value based on which equality for the reset will be determined.