pub struct ArchivedRangeTo<T> {
pub end: T,
}
Expand description
An archived RangeTo
.
Fields§
§end: T
The upper bound of the range (exclusive).
Implementations§
Source§impl<T: PartialOrd<T>> ArchivedRangeTo<T>
impl<T: PartialOrd<T>> ArchivedRangeTo<T>
Trait Implementations§
Source§impl<__C: ?Sized, T> CheckBytes<__C> for ArchivedRangeTo<T>where
T: CheckBytes<__C>,
impl<__C: ?Sized, T> CheckBytes<__C> for ArchivedRangeTo<T>where
T: CheckBytes<__C>,
Source§type Error = StructCheckError
type Error = StructCheckError
The error that may result from checking the type.
Source§unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C,
) -> Result<&'__bytecheck Self, StructCheckError>
unsafe fn check_bytes<'__bytecheck>( value: *const Self, context: &mut __C, ) -> Result<&'__bytecheck Self, StructCheckError>
Checks whether the given pointer points to a valid value within the
given context. Read more
Source§impl<T: Clone> Clone for ArchivedRangeTo<T>
impl<T: Clone> Clone for ArchivedRangeTo<T>
Source§fn clone(&self) -> ArchivedRangeTo<T>
fn clone(&self) -> ArchivedRangeTo<T>
Returns a copy 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 ArchivedRangeTo<T>
impl<T: Debug> Debug for ArchivedRangeTo<T>
Source§impl<T: Default> Default for ArchivedRangeTo<T>
impl<T: Default> Default for ArchivedRangeTo<T>
Source§fn default() -> ArchivedRangeTo<T>
fn default() -> ArchivedRangeTo<T>
Returns the “default value” for a type. Read more
Source§impl<T: Hash> Hash for ArchivedRangeTo<T>
impl<T: Hash> Hash for ArchivedRangeTo<T>
Source§impl<T: PartialEq> PartialEq for ArchivedRangeTo<T>
impl<T: PartialEq> PartialEq for ArchivedRangeTo<T>
Source§impl<T> RangeBounds<T> for ArchivedRangeTo<T>
impl<T> RangeBounds<T> for ArchivedRangeTo<T>
impl<T: Eq> Eq for ArchivedRangeTo<T>
impl<T> StructuralPartialEq for ArchivedRangeTo<T>
Auto Trait Implementations§
impl<T> Freeze for ArchivedRangeTo<T>where
T: Freeze,
impl<T> RefUnwindSafe for ArchivedRangeTo<T>where
T: RefUnwindSafe,
impl<T> Send for ArchivedRangeTo<T>where
T: Send,
impl<T> Sync for ArchivedRangeTo<T>where
T: Sync,
impl<T> Unpin for ArchivedRangeTo<T>where
T: Unpin,
impl<T> UnwindSafe for ArchivedRangeTo<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: *const T) -> Layout
fn layout_raw(_: *const T) -> Layout
Gets the layout of the type.