Skip to content

Generic parameters in API #3

Description

@frostyplanet

There are many generic parameters in the BoundedQueue.
I don't know whether it is necessary to expose the complexity to users.

  • For example, UnsafeCell, Padding, takes up a lot of writing
  • The meanings of I, and RING, why it is AsRef
  • Missing description for seal of BoundedQueue
  • Missing description for mode of AllocBoundedQueue, and why it is different to BoundedQueue (since it is an alias)
  • Maybe add various examples for usage,
  • Consider providing a default value to generic parameters?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions