[−][src]Crate ouroboros_examples
Modules
ouroboros_impl_box_and_ref | Encapsulates implementation details for a self-referencing struct. This module is only visible when using --document-private-items. |
ouroboros_impl_chain_hack | Encapsulates implementation details for a self-referencing struct. This module is only visible when using --document-private-items. |
ouroboros_impl_documentation_example | Encapsulates implementation details for a self-referencing struct. This module is only visible when using --document-private-items. |
ouroboros_impl_undocumented | Encapsulates implementation details for a self-referencing struct. This module is only visible when using --document-private-items. |
ouroboros_impl_visibility | Encapsulates implementation details for a self-referencing struct. This module is only visible when using --document-private-items. |
Structs
BoxAndRef | A simple struct which contains a |
ChainHack | A chain of references, where c references b which references a. This is an example of a struct which requires using chain_hack as of the time this was written. |
DocumentationExample | The example provided in the documentation. |
Undocumented | This struct is created using |
Visibility | This struct demonstrates how visibility can be controlled. The struct is defined with the following code: |
VisibilityBuilder | A more verbose but stable way to construct self-referencing structs. It is comparable to using |
VisibilityTryBuilder | A more verbose but stable way to construct self-referencing structs. It is comparable to using |