Like an option but not optional.
Forces external immutability.
A counter that can recycle "gaps".
Like the standard ControlFlow struct, without the type requirements.
Convert Options into certainty.
The items in this module help you work with RefCells.
Collection related stucts and traits, some of which are inspired by .NET.
Convert stuff into &dyn Any and &mut dyn Any.
Panicking made convenient.
Event structs loosely inspired by .NET events.
Trait implementations for getting the value of one for each numeric type.
Miss the ++ and -- operators?
This module can help sort you out.
Reference counting related helper structs and traits.
Look at SendableText and AsStr.
Functions that help you deal with upgrading reference counted objects.
For when you want to move values around.
Build with the latest stable compiler.
- Add more documentation
- Add code examples
- Add more tests
- Clean-up the code
- Solidify the API for 1.0
This project uses a coding style the emphasises the use of white space over keeping the line and column counts as low as possible.
So this:
fn foo()
{
bar();
}Not this:
fn foo()
{
bar();
}Licensed under either of:
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0 (see also: https://www.tldrlegal.com/license/apache-license-2-0-apache-2-0))
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT (see also: https://www.tldrlegal.com/license/mit-license))
at your discretion
Please clone the repository and create an issue explaining what feature or features you'd like to add or bug or bugs you'd like to fix and perhaps how you intend to implement these additions or fixes. Try to include details though it doesn't need to be exhaustive and we'll take it from there (dependant on availability).
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.