pub struct ConstructorDef {
pub name: Identifier,
pub fields: Vec<Type>,
}Fields§
§name: Identifier§fields: Vec<Type>Trait Implementations§
Source§impl Clone for ConstructorDef
impl Clone for ConstructorDef
Source§fn clone(&self) -> ConstructorDef
fn clone(&self) -> ConstructorDef
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 ConstructorDef
impl Debug for ConstructorDef
Source§impl<'de> Deserialize<'de> for ConstructorDef
impl<'de> Deserialize<'de> for ConstructorDef
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 ConstructorDef
impl PartialEq for ConstructorDef
Source§impl Serialize for ConstructorDef
impl Serialize for ConstructorDef
impl StructuralPartialEq for ConstructorDef
Auto Trait Implementations§
impl Freeze for ConstructorDef
impl RefUnwindSafe for ConstructorDef
impl Send for ConstructorDef
impl Sync for ConstructorDef
impl Unpin for ConstructorDef
impl UnwindSafe for ConstructorDef
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