pub struct ConstructorClaim {
pub name: String,
pub ty: NodeRef,
}Expand description
One constructor of an inductive type: its name and full type (parameters included).
Fields§
§name: String§ty: NodeRefTrait Implementations§
Source§impl Clone for ConstructorClaim
impl Clone for ConstructorClaim
Source§fn clone(&self) -> ConstructorClaim
fn clone(&self) -> ConstructorClaim
Returns a duplicate 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 Debug for ConstructorClaim
impl Debug for ConstructorClaim
Source§impl<'de> Deserialize<'de> for ConstructorClaim
impl<'de> Deserialize<'de> for ConstructorClaim
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConstructorClaim
impl PartialEq for ConstructorClaim
Source§impl Serialize for ConstructorClaim
impl Serialize for ConstructorClaim
impl StructuralPartialEq for ConstructorClaim
Auto Trait Implementations§
impl Freeze for ConstructorClaim
impl RefUnwindSafe for ConstructorClaim
impl Send for ConstructorClaim
impl Sync for ConstructorClaim
impl Unpin for ConstructorClaim
impl UnsafeUnpin for ConstructorClaim
impl UnwindSafe for ConstructorClaim
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