GithubHelp home page GithubHelp logo

anyinput's People

Contributors

carlkcarlk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

anyinput's Issues

for AnyIter have option to the *.as_ref(), etc on the inside thing

Currently, if you use AnyIter on AnyString, you must remember to do .as_ref() on every element. This is likely most efficient, but how about an option such that it creates a new iter that does the .as_ref() on every element.

Think about doing this for AnyArray, too.

AnyStr?

Discussed in #2

Originally posted by NicholasSterling October 30, 2022
Interesting crate -- thanks for the contribution.

This is a minor point, but when I saw AnyString I thought "oh no, if I had an &str, I wouldn't necessarily want it to be converted to a String." But the target type for AnyString is actually &str. So this leaves me with two thoughts:

  1. Would it be clearer to call that AnyStr?
  2. Do you want an AnyString (with a target type of String) too?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.