[][src]Struct rkyv::core_impl::range::ArchivedRangeInclusive

#[repr(C)]pub struct ArchivedRangeInclusive<T> {
    pub start: T,
    pub end: T,
}

Fields

start: Tend: T

Implementations

impl<T: PartialOrd<T>> ArchivedRangeInclusive<T>[src]

pub fn contains<U: ?Sized>(&self, item: &U) -> bool where
    T: PartialOrd<U>,
    U: PartialOrd<T>, 
[src]

pub fn is_empty(&self) -> bool[src]

Trait Implementations

impl<C, T: CheckBytes<C>> CheckBytes<C> for ArchivedRangeInclusive<T>[src]

type Error = StructCheckError

The error that may result from validating the type.

impl<T: Clone> Clone for ArchivedRangeInclusive<T>[src]

impl<T: Debug> Debug for ArchivedRangeInclusive<T>[src]

impl<T: Default> Default for ArchivedRangeInclusive<T>[src]

impl<T: Eq> Eq for ArchivedRangeInclusive<T>[src]

impl<T: Hash> Hash for ArchivedRangeInclusive<T>[src]

impl<T: PartialEq> PartialEq<ArchivedRangeInclusive<T>> for ArchivedRangeInclusive<T>[src]

impl<T, U: PartialEq<T>> PartialEq<RangeInclusive<T>> for ArchivedRangeInclusive<U>[src]

impl<T> RangeBounds<T> for ArchivedRangeInclusive<T>[src]

impl<T> StructuralEq for ArchivedRangeInclusive<T>[src]

impl<T> StructuralPartialEq for ArchivedRangeInclusive<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ArchivedRangeInclusive<T> where
    T: RefUnwindSafe

impl<T> Send for ArchivedRangeInclusive<T> where
    T: Send

impl<T> Sync for ArchivedRangeInclusive<T> where
    T: Sync

impl<T> Unpin for ArchivedRangeInclusive<T> where
    T: Unpin

impl<T> UnwindSafe for ArchivedRangeInclusive<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.