SwiftenumFindMyCore
enum FindMyCore.Either
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Equatable
- protocolSwift.Hashable
- protocolSwift.Identifiable
Members 9
- func
static FindMyCore.Either< where A: Equatable, B: Equatable>.== infix(FindMyCore.Either<A, B>, FindMyCore.Either<A, B>) -> Bool - case
case left(A) - case
case right(B) - func
FindMyCore.Either< where A: Hashable, B: Hashable>.hash(into: inout Hasher) -> () - init
init(B) -> FindMyCore.Either<A, B> - init
init(A) -> FindMyCore.Either<A, B> - typealias
typealias ID = A.Swift.Identifiable.ID - var
var hashValue: Int { get } - var
var id: A.ID { get }
Header
enum Either<A, B> { case left(A) case right(B) init(_: B) init(_: A) }