[−][src]Enum packs::std_structs::StdStructPrimitive
A variant of StdStruct
which has only the non-recursive types. This allows StdStruct
to become
Send
, since Node
can use StdStructPrimitive
and hence is no longer
recursive.
Variants
Date(Date)
Time(Time)
LocalTime(LocalTime)
DateTime(DateTime)
DateTimeZoneId(DateTimeZoneId)
LocalDateTime(LocalDateTime)
Duration(Duration)
Point2D(Point2D)
Point3D(Point3D)
Trait Implementations
impl Clone for StdStructPrimitive
[src]
pub fn clone(&self) -> StdStructPrimitive
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for StdStructPrimitive
[src]
impl Pack for StdStructPrimitive
[src]
pub fn encode<T__PACKS_PROC_IMPL_PACKUNPACK: Write>(
&self,
writer: &mut T__PACKS_PROC_IMPL_PACKUNPACK
) -> Result<usize, EncodeError>
[src]
&self,
writer: &mut T__PACKS_PROC_IMPL_PACKUNPACK
) -> Result<usize, EncodeError>
impl PartialEq<StdStructPrimitive> for StdStructPrimitive
[src]
pub fn eq(&self, other: &StdStructPrimitive) -> bool
[src]
pub fn ne(&self, other: &StdStructPrimitive) -> bool
[src]
impl StructuralPartialEq for StdStructPrimitive
[src]
impl Unpack for StdStructPrimitive
[src]
pub fn decode_body<T__PACKS_PROC_IMPL_PACKUNPACK: Read>(
marker: Marker,
reader: &mut T__PACKS_PROC_IMPL_PACKUNPACK
) -> Result<Self, DecodeError>
[src]
marker: Marker,
reader: &mut T__PACKS_PROC_IMPL_PACKUNPACK
) -> Result<Self, DecodeError>
pub fn decode<T: Read>(reader: &mut T) -> Result<Self, DecodeError>
[src]
Auto Trait Implementations
impl RefUnwindSafe for StdStructPrimitive
impl Send for StdStructPrimitive
impl Sync for StdStructPrimitive
impl Unpin for StdStructPrimitive
impl UnwindSafe for StdStructPrimitive
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>,