Docs.rs
singleton-trait-0.4.0
singleton-trait 0.4.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
jasoncarr0
Dependencies
Versions
83.33%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
singleton_
trait
0.4.0
All Items
Crate Items
Structs
Traits
Crate
singleton_trait
Copy item path
Source
Structs
§
Erased
The Erased struct witnesses the logical ownership of a value of type T while remaining zero-sized. This can be used for ghost proofs of soundness.
Traits
§
Exists
The Exists trait is intended to be used with
impl
, to denote an argument where the existence of a value is sufficient as an argument
Single
Thread
A type
T
implements SingleThread if at any time there is a single thread from which all values/references to values of this type may be accessed.
Singleton
This trait denotes a type which has at most one logical identity at all times. This is sufficient to make borrowing decisions based only on the type, without regards to value identity.