diff options
| author | John Turner <jturner.usa@gmail.com> | 2025-12-01 11:29:09 -0500 |
|---|---|---|
| committer | John Turner <jturner.usa@gmail.com> | 2025-12-01 11:29:09 -0500 |
| commit | 99738119b7f113ef9fc0f12af3f94c3c6bd17793 (patch) | |
| tree | 328db9f4f6155cc663fb8fe001e8c709f0c5ac1b | |
| parent | cd5f75b65777a855ab010c3137304ac05f2e56b8 (diff) | |
| download | get-master.tar.gz | |
| -rw-r--r-- | src/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -58,7 +58,7 @@ //!``` //!#### Getters on Copy types: //!``` -//! use get::GetCopy; +//! use get::Get; //! //! #[derive(Clone, Copy, Get)] //! struct NonZeroUInt<T>( @@ -88,16 +88,16 @@ //! //! All supported name value pairs: //! * `method` (this sets the name of the getter method) +//! * `kind` (this sets the kind of getter, the supported getter kinds are listed below) //! //! All supported idents are: //! * `hide` (this will disable getters for a specific field) //! -//! All supported getter kinds are: +//! All supported getter kinds are (ref is the default): //! * `ref` //! * `copy` -//! * `as_ref` //! * `deref` -//! +//! //! # Todos //! * detect and return error for fields with conflicting attributes //! * improve error output, include span information if possible |
