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