typing_tools

Crates.iotyping_tools
lib.rstyping_tools
version0.8.0
sourcesrc
created_at2022-01-10 14:48:37.845795
updated_at2024-05-11 22:36:26.231371
descriptionCollection of general purpose tools for type checking.
homepagehttps://github.com/Wandalen/wTools/tree/master/module/core/typing_tools
repositoryhttps://github.com/Wandalen/wTools/tree/master/module/core/typing_tools
max_upload_size
id511443
size31,443
Wandalen (Wandalen)

documentation

https://docs.rs/typing_tools

README

Module :: typing_tools

experimental rust-status docs.rs Open in Gitpod discord

Collection of general purpose tools for type checking.

Basic use-case

use typing_tools::*;

let src = Box::new( true );
assert_eq!( implements!( src => Copy ), false );
assert_eq!( implements!( src => Clone ), true );

To add to your project

cargo add typing_tools

Try out from the repository

git clone https://github.com/Wandalen/wTools
cd wTools
cd examples/typing_tools_trivial
cargo run
Commit count: 0

cargo fmt