Struct rkyv::core_impl::range::ArchivedRangeInclusive [−][src]
pub struct ArchivedRangeInclusive<T> { pub start: T, pub end: T, }
Expand description
An archived RangeInclusive
.
Fields
start: T
The lower bound of the range (inclusive).
end: T
The upper bound of the range (inclusive).
Implementations
Returns true
if item
is contained in the range.
Trait Implementations
impl<T, __C: ?Sized> CheckBytes<__C> for ArchivedRangeInclusive<T> where
T: CheckBytes<__C>,
T: CheckBytes<__C>,
[src]
impl<T, __C: ?Sized> CheckBytes<__C> for ArchivedRangeInclusive<T> where
T: CheckBytes<__C>,
T: CheckBytes<__C>,
[src]type Error = StructCheckError
type Error = StructCheckError
The error that may result from checking the type.
unsafe fn check_bytes<'a>(
value: *const Self,
context: &mut __C
) -> Result<&'a Self, Self::Error>
[src]
unsafe fn check_bytes<'a>(
value: *const Self,
context: &mut __C
) -> Result<&'a Self, Self::Error>
[src]Checks whether the given pointer points to a valid value within the given context. Read more
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more