Storage Documentation

Structure Providers.​Offset

struct Offset<Offset, Page>: OffsetProvider  

A struct defining an instance abstracting a page reference, identified by some bookmark.

%119 Providers.Offset Providers.Offset OffsetProvider OffsetProvider Providers.Offset->OffsetProvider

Member Of

Providers

A module-like enum listing all providers.

Conforms To

OffsetProvider

Initializers

init(_:​)

public init(_ content: @escaping (Offset) -> Page)  

Init.

Parameters

content @escaping (Offset) -> Page

The output factory.

Methods

start(at:​)

public func start(at offset: Offset) -> Page  

Compose the page.

Parameters

offset Offset

Some Offset.

Returns

Some Page.