Crates.io | std1 |
lib.rs | std1 |
version | 0.2.0 |
source | src |
created_at | 2023-02-13 00:09:05.920226 |
updated_at | 2023-02-13 01:04:58.702407 |
description | Simple -unofficial- additions to the rust standard library, via a quickly typeable name. |
homepage | |
repository | https://github.com/colbyn/std1 |
max_upload_size | |
id | 783589 |
size | 2,028 |
Nothing to see here, just initialized the location of my rust std add-ons
Mostly just wanted a place to factor out my generic associated type based trait utils, e.g.
pub trait ToRef {
/// The dedicated type with references therein.
type Type<'a>: Clone where Self: 'a;
fn to_ref<'a>(&'a self) -> Self::Type<'a>;
}
Simple -unofficial- additions to the rust standard library, via a quickly typeable name.