Structure
Providers.Offset
struct Offset<Offset, Page>: OffsetProvider
A struct
defining an instance
abstracting a page reference,
identified by some bookmark.
Relationships
Member Of
Providers
A module-like
enum
listing all providers.
Conforms To
OffsetProvider
Initializers
init(_:)
public init(_ content: @escaping (Offset) -> Page)
Init.
Parameters
Name | Type | Description |
---|---|---|
content | @escaping (Offset) -> Page |
The output factory. |
Methods
start(at:)
public func start(at offset: Offset) -> Page
Compose the page.
Parameters
Name | Type | Description |
---|---|---|
offset | Offset |
Some |
Returns
Some Page
.