Crates.io | kg-symbol |
lib.rs | kg-symbol |
version | 0.2.0 |
source | src |
created_at | 2018-10-02 15:31:00.377877 |
updated_at | 2020-08-15 20:13:05.622158 |
description | Atomic strings in Rust. |
homepage | |
repository | https://github.com/Kodegenix/kg-symbol |
max_upload_size | |
id | 87622 |
size | 37,031 |
Atomic strings in Rust.
This crate provides a Symbol
type representing reference to an interned string.
Since there can only exist one Symbol with a given name, symbols equality can be established simply from pointer comparison.
stable | beta | nightly |
---|---|---|
Licensed under either of
at your option.
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.
Copyright (c) 2018 Kodegenix Sp. z o.o. http://www.kodegenix.pl