Skip to content

Commit

Permalink
former : experimenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Wandalen committed Apr 23, 2024
1 parent 1f0d8dd commit 482df01
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,18 +127,20 @@ where

}

pub trait FormerDefinitionFull
pub trait EntityToFormer
{
type Storage;
type Former;
// type Formed;
// type Context;
// type Types;
// type Definition;
}

impl FormerDefinitionFull for Descriptor
impl EntityToFormer for Descriptor
{
type Storage = DescriptorFormerStorage;
type Former = DescriptorFormer;
// type Formed;
// type Context;
// type Types;
Expand Down Expand Up @@ -226,8 +228,7 @@ where
<
// Storage = DescriptorFormerStorage,
// Storage = < DescriptorFormerDefinitionTypes as former::FormerDefinitionTypes >::Storage,
Storage = < Descriptor as FormerDefinitionFull >::Storage,
// Storage = < former::VectorDefinition< Descriptor > as former::FormerDefinitionTypes >::Storage,
Storage = < Descriptor as EntityToFormer >::Storage,
Formed = ParametersFormer< Definition >,
Context = ParametersFormer< Definition >,
>,
Expand Down

0 comments on commit 482df01

Please sign in to comment.