pub struct HeightSegment<I>where
I: IntCO,{
pub interval: I,
pub height: NonZeroUsize,
}Fields§
§interval: IClosed-open interval on which the positive stack height is constant.
height: NonZeroUsizePositive stack height throughout interval.
Trait Implementations§
Source§impl<I> Clone for HeightSegment<I>
impl<I> Clone for HeightSegment<I>
Source§fn clone(&self) -> HeightSegment<I>
fn clone(&self) -> HeightSegment<I>
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<I> Copy for HeightSegment<I>
Source§impl<I> Debug for HeightSegment<I>
impl<I> Debug for HeightSegment<I>
impl<I> Eq for HeightSegment<I>
Source§impl<I> From<HeightSegment<I>> for HeightRun<I>where
I: IntCO,
impl<I> From<HeightSegment<I>> for HeightRun<I>where
I: IntCO,
Source§fn from(segment: HeightSegment<I>) -> Self
fn from(segment: HeightSegment<I>) -> Self
Converts to this type from the input type.
Source§impl<I> PartialEq for HeightSegment<I>
impl<I> PartialEq for HeightSegment<I>
Source§fn eq(&self, other: &HeightSegment<I>) -> bool
fn eq(&self, other: &HeightSegment<I>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<I> StructuralPartialEq for HeightSegment<I>where
I: IntCO,
Auto Trait Implementations§
impl<I> Freeze for HeightSegment<I>where
I: Freeze,
impl<I> RefUnwindSafe for HeightSegment<I>where
I: RefUnwindSafe,
impl<I> Send for HeightSegment<I>where
I: Send,
impl<I> Sync for HeightSegment<I>where
I: Sync,
impl<I> Unpin for HeightSegment<I>where
I: Unpin,
impl<I> UnsafeUnpin for HeightSegment<I>where
I: UnsafeUnpin,
impl<I> UnwindSafe for HeightSegment<I>where
I: 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