Struct rkyv::ops::ArchivedRangeToInclusive [−][src]
pub struct ArchivedRangeToInclusive<T> {
pub end: T,
}Expand description
An archived RangeToInclusive.
Fields
end: TThe upper bound of the range (inclusive).
Implementations
Returns true if item is contained in the range.
Trait Implementations
type Error = StructCheckError
type Error = StructCheckErrorThe error that may result from checking the type.
unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, Self::Error>
unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, Self::Error>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 ArchivedRangeToInclusive<T> where
T: RefUnwindSafe, impl<T> Send for ArchivedRangeToInclusive<T> where
T: Send, impl<T> Sync for ArchivedRangeToInclusive<T> where
T: Sync, impl<T> Unpin for ArchivedRangeToInclusive<T> where
T: Unpin, impl<T> UnwindSafe for ArchivedRangeToInclusive<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
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
D: Fallible + ?Sized,
F: ?Sized,
W: DeserializeWith<F, T, D>,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
D: Fallible + ?Sized,
F: ?Sized,
W: DeserializeWith<F, T, D>,