Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add KnownLayout trait #347

Merged

Commits on Sep 7, 2023

  1. Add KnownLayout trait

    In its initial form, the `KnownLayout` trait encodes type layout
    information slightly more complex than can be gleaned from any arbitrary
    `T: ?Sized`. This allows it to support not just sized and slice types,
    but also "custom DSTs" (those with fixed-size fields followed by a
    trailing slice type). This is the first step to supporting various
    operations on arbitrary custom DSTs.
    
    Makes progress on #29
    joshlf committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    f7c1d7b View commit details
    Browse the repository at this point in the history