Skip to content

Commit

Permalink
former : experimenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Wandalen committed Apr 29, 2024
1 parent e93def3 commit 1040577
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,21 +213,23 @@ impl< Definition > Default for ParentFormerAssignChildrenEnd< Definition >

#[ automatically_derived ]
impl< Definition, > former::FormingEnd
< former::VectorDefinition< Child, ParentFormer< Definition, >, ParentFormer< Definition, >, former::NoEnd >, >
// <
// < Vec< Child > as former::EntityToDefinition< Parent, Parent, former::NoEnd > >::Definition
// >
// < former::VectorDefinition< Child, ParentFormer< Definition, >, ParentFormer< Definition, >, former::NoEnd >, >
<
< Vec< Child > as former::EntityToDefinition< ParentFormer< Definition, >, ParentFormer< Definition, >, former::NoEnd > >::Definition
>
for ParentFormerAssignChildrenEnd< Definition >
where
Definition : former::FormerDefinition,
Definition::Types : former::FormerDefinitionTypes< Storage = ParentFormerStorage< > >,
{
#[ inline( always ) ]
fn call(
fn call
(
&self,
storage : Vec< Child >,
super_former : Option< ParentFormer< Definition, > >,
) -> ParentFormer< Definition, >
)
-> ParentFormer< Definition, >
{
let mut super_former = super_former.unwrap();
if let Some( ref mut field ) = super_former.storage.children
Expand Down

0 comments on commit 1040577

Please sign in to comment.