[−][src]Struct rkyv::core_impl::range::ArchivedRange
Fields
start: T
end: T
Implementations
impl<T: PartialOrd<T>> ArchivedRange<T>
[src]
pub fn contains<U: ?Sized>(&self, item: &U) -> bool where
T: PartialOrd<U>,
U: PartialOrd<T>,
[src]
T: PartialOrd<U>,
U: PartialOrd<T>,
pub fn is_empty(&self) -> bool
[src]
Trait Implementations
impl<C, T: CheckBytes<C>> CheckBytes<C> for ArchivedRange<T>
[src]
type Error = StructCheckError
The error that may result from validating the type.
pub unsafe fn check_bytes<'a>(
bytes: *const u8,
context: &mut C
) -> Result<&'a Self, Self::Error>
[src]
bytes: *const u8,
context: &mut C
) -> Result<&'a Self, Self::Error>
impl<T: Clone> Clone for ArchivedRange<T>
[src]
pub fn clone(&self) -> ArchivedRange<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Debug> Debug for ArchivedRange<T>
[src]
impl<T: Default> Default for ArchivedRange<T>
[src]
pub fn default() -> ArchivedRange<T>
[src]
impl<T: Eq> Eq for ArchivedRange<T>
[src]
impl<T: Hash> Hash for ArchivedRange<T>
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: PartialEq> PartialEq<ArchivedRange<T>> for ArchivedRange<T>
[src]
pub fn eq(&self, other: &ArchivedRange<T>) -> bool
[src]
pub fn ne(&self, other: &ArchivedRange<T>) -> bool
[src]
impl<T, U: PartialEq<T>> PartialEq<Range<T>> for ArchivedRange<U>
[src]
pub fn eq(&self, other: &Range<T>) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<T> RangeBounds<T> for ArchivedRange<T>
[src]
pub fn start_bound(&self) -> Bound<&T>
[src]
pub fn end_bound(&self) -> Bound<&T>
[src]
pub fn assert_len(self, len: usize) -> Range<usize> where
Self: RangeBounds<usize>,
[src]
Self: RangeBounds<usize>,
pub fn contains<U>(&self, item: &U) -> bool where
T: PartialOrd<U>,
U: PartialOrd<T> + ?Sized,
1.35.0[src]
T: PartialOrd<U>,
U: PartialOrd<T> + ?Sized,
impl<T> StructuralEq for ArchivedRange<T>
[src]
impl<T> StructuralPartialEq for ArchivedRange<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for ArchivedRange<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for ArchivedRange<T> where
T: Send,
T: Send,
impl<T> Sync for ArchivedRange<T> where
T: Sync,
T: Sync,
impl<T> Unpin for ArchivedRange<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for ArchivedRange<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,