Module ouroboros_examples::ouroboros_impl_visibility [−][src]
Expand description
Encapsulates implementation details for a self-referencing struct. This module is only visible when using –document-private-items.
Structs
BorrowedFields | A struct for holding immutable references to all tail and immutably borrowed fields in an instance of |
BorrowedMutFields | A struct for holding mutable references to all tail fields in an instance of |
Heads | A struct which contains only the head fields of |
Visibility | This struct demonstrates how visibility can be controlled. The struct is defined with the following code: |
VisibilityAsyncBuilder | A more verbose but stable way to construct self-referencing structs. It is comparable to using |
VisibilityAsyncTryBuilder | A more verbose but stable way to construct self-referencing structs. It is comparable to using |
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 |
Functions
type_asserts |