Skip to content

Latest commit

 

History

History

typing_tools

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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