Skip to content

Commit

Permalink
experimenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Wandalen committed Mar 29, 2024
1 parent 9ef619d commit c9be2d1
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions module/core/former/tests/inc/former_tests/a_primitives_manual.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,23 @@ impl Struct1
#[ derive( Debug, Default ) ]
pub struct Struct1FormerDefinition;

// impl Struct1FormerDefinition
#[ derive( Debug, Default ) ]
pub struct Struct1FormerDefinition2< E, Context = (), Formed = Struct1, End = former::ReturnPreformed >
// where
// End : FormingEnd< Struct1FormerDefinition< E, Context, Formed, NoEnd > >,
{
_phantom : core::marker::PhantomData< ( E, Context, Formed, End ) >,
}

// #[ derive( Default ) ]
// pub struct ContainerSubformer< E, Definition >
// where
// Definition : FormerDefinition,
// // < Definition::Types as FormerDefinitionTypes >::Storage : ContainerAdd< Element = E >,
// {
// pub fn new() -> Self
// {
// Self
// }
// storage : core::option::Option< < Definition::Types as FormerDefinitionTypes >::Storage >,
// context : core::option::Option< < Definition::Types as FormerDefinitionTypes >::Context >,
// on_end : core::option::Option< Definition::End >,
// }

impl former::FormerDefinitionTypes
Expand Down Expand Up @@ -249,4 +260,5 @@ impl Struct1Former

//

include!( "./only_test/primitives.rs" );
// xxx : uncomment
// include!( "./only_test/primitives.rs" );

0 comments on commit c9be2d1

Please sign in to comment.