pub struct Constr<A> {
pub tag: u64,
pub any_constructor: Option<u64>,
pub fields: MaybeIndefArray<A>,
}Fields§
§tag: u64§any_constructor: Option<u64>§fields: MaybeIndefArray<A>Implementations§
Trait Implementations§
Source§impl<'de, A> Deserialize<'de> for Constr<A>where
A: Deserialize<'de>,
impl<'de, A> Deserialize<'de> for Constr<A>where
A: Deserialize<'de>,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Constr<A>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Constr<A>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<A> Ord for Constr<A>where
A: Ord,
impl<A> Ord for Constr<A>where
A: Ord,
Source§impl<A> PartialOrd for Constr<A>where
A: Ord,
impl<A> PartialOrd for Constr<A>where
A: Ord,
Source§impl<A> Serialize for Constr<A>where
A: Serialize,
impl<A> Serialize for Constr<A>where
A: Serialize,
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<A> Eq for Constr<A>where
A: Ord,
Auto Trait Implementations§
impl<A> Freeze for Constr<A>
impl<A> RefUnwindSafe for Constr<A>where
A: RefUnwindSafe,
impl<A> Send for Constr<A>where
A: Send,
impl<A> Sync for Constr<A>where
A: Sync,
impl<A> Unpin for Constr<A>where
A: Unpin,
impl<A> UnsafeUnpin for Constr<A>
impl<A> UnwindSafe for Constr<A>where
A: UnwindSafe,
Blanket Implementations§
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more