Struct rkyv::niche::option_nonzero::ArchivedOptionNonZeroI8 [−][src]
#[repr(transparent)]pub struct ArchivedOptionNonZeroI8 { /* fields omitted */ }Expand description
A niched archived Option<NonZeroI8>
Implementations
Converts to an Option<&Archived<NonZeroI8>>
Converts to an Option<&mut Archived<NonZeroI8>>
Converts from Pin<&ArchivedOptionNonZeroI8> to Option<Pin<&Archived<NonZeroI8>>>.
Converts from Pin<&mut ArchivedOptionNonZeroI8> to Option<Pin<&mut Archived<NonZeroI8>>>.
Returns an iterator over the possibly contained value.
Returns a mutable iterator over the possibly contained value.
Inserts v into the option if it is None, then returns a mutable
reference to the contained value.
Inserts a value computed from f into the option if it is None, then
returns a mutable reference to the contained value.
Trait Implementations
impl<D: Fallible + ?Sized> DeserializeWith<ArchivedOptionNonZeroI8, Option<NonZeroI8>, D> for Niche
impl<D: Fallible + ?Sized> DeserializeWith<ArchivedOptionNonZeroI8, Option<NonZeroI8>, D> for Niche
fn deserialize_with(
field: &ArchivedOptionNonZeroI8,
_: &mut D
) -> Result<Option<NonZeroI8>, D::Error>
fn deserialize_with(
field: &ArchivedOptionNonZeroI8,
_: &mut D
) -> Result<Option<NonZeroI8>, D::Error>
Deserializes the field type F using the given deserializer.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ArchivedOptionNonZeroI8
impl Send for ArchivedOptionNonZeroI8
impl Sync for ArchivedOptionNonZeroI8
impl Unpin for ArchivedOptionNonZeroI8
impl UnwindSafe for ArchivedOptionNonZeroI8
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