pub struct ChangePoint<C> {
pub at: C,
pub height_after: usize,
}Fields§
§at: C§height_after: usizeTrait Implementations§
Source§impl<C: Clone> Clone for ChangePoint<C>
impl<C: Clone> Clone for ChangePoint<C>
Source§fn clone(&self) -> ChangePoint<C>
fn clone(&self) -> ChangePoint<C>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<C: Copy> Copy for ChangePoint<C>
Source§impl<C: Debug> Debug for ChangePoint<C>
impl<C: Debug> Debug for ChangePoint<C>
impl<C: Eq> Eq for ChangePoint<C>
Source§impl<C: PartialEq> PartialEq for ChangePoint<C>
impl<C: PartialEq> PartialEq for ChangePoint<C>
Source§fn eq(&self, other: &ChangePoint<C>) -> bool
fn eq(&self, other: &ChangePoint<C>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<C> StructuralPartialEq for ChangePoint<C>
Auto Trait Implementations§
impl<C> Freeze for ChangePoint<C>where
C: Freeze,
impl<C> RefUnwindSafe for ChangePoint<C>where
C: RefUnwindSafe,
impl<C> Send for ChangePoint<C>where
C: Send,
impl<C> Sync for ChangePoint<C>where
C: Sync,
impl<C> Unpin for ChangePoint<C>where
C: Unpin,
impl<C> UnsafeUnpin for ChangePoint<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for ChangePoint<C>where
C: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more