pub struct WithEmptySegment<T>(pub T);Expand description
Left-close Right-open Segment
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: Clone> Clone for WithEmptySegment<T>
impl<T: Clone> Clone for WithEmptySegment<T>
Source§fn clone(&self) -> WithEmptySegment<T>
fn clone(&self) -> WithEmptySegment<T>
Returns a duplicate 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<T: Debug> Debug for WithEmptySegment<T>
impl<T: Debug> Debug for WithEmptySegment<T>
Source§impl<T: Hash> Hash for WithEmptySegment<T>
impl<T: Hash> Hash for WithEmptySegment<T>
Source§impl<T: Ord> Ord for WithEmptySegment<T>
impl<T: Ord> Ord for WithEmptySegment<T>
Source§fn cmp(&self, other: &WithEmptySegment<T>) -> Ordering
fn cmp(&self, other: &WithEmptySegment<T>) -> 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<T: PartialEq> PartialEq for WithEmptySegment<T>
impl<T: PartialEq> PartialEq for WithEmptySegment<T>
Source§impl<T: PartialOrd> PartialOrd for WithEmptySegment<T>
impl<T: PartialOrd> PartialOrd for WithEmptySegment<T>
Source§impl<T> RandomSpec<(usize, usize)> for WithEmptySegment<T>where
T: RandomSpec<usize>,
impl<T> RandomSpec<(usize, usize)> for WithEmptySegment<T>where
T: RandomSpec<usize>,
impl<T: Copy> Copy for WithEmptySegment<T>
impl<T: Eq> Eq for WithEmptySegment<T>
impl<T> StructuralPartialEq for WithEmptySegment<T>
Auto Trait Implementations§
impl<T> Freeze for WithEmptySegment<T>where
T: Freeze,
impl<T> RefUnwindSafe for WithEmptySegment<T>where
T: RefUnwindSafe,
impl<T> Send for WithEmptySegment<T>where
T: Send,
impl<T> Sync for WithEmptySegment<T>where
T: Sync,
impl<T> Unpin for WithEmptySegment<T>where
T: Unpin,
impl<T> UnsafeUnpin for WithEmptySegment<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for WithEmptySegment<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsTotalOrd for Twhere
T: PartialOrd,
impl<T> AsTotalOrd for Twhere
T: PartialOrd,
fn as_total_ord(&self) -> TotalOrd<&T>
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