Instance Methodscinfu.swiftsoup 2.8.7SwiftSoup
contains(_:)
ParsingStrings.swift:129func contains(_ slice: ArraySlice<UInt8>) -> Bool
func contains(_ slice: ArraySlice<UInt8>) -> Bool
s9SwiftSoup14ParsingStringsV8containsySbs10ArraySliceVys5UInt8VGF
What are these?1HI0C
import SwiftSoup
struct ParsingStrings
@frozen struct ArraySlice<Element>
A slice of an Array
, ContiguousArray
, or ArraySlice
instance.
@frozen struct UInt8
An 8-bit unsigned integer value type.
@frozen struct Bool
A value type whose instances are either true
or false
.
init(_ strings: [String])
init(_ strings: [[UInt8]])
init(_ strings: [UnicodeScalar])
let multiByteByteLookups: [(UInt64, UInt64, UInt64, UInt64)]
let multiByteByteLookupsCount: Int
let multiByteSet: Set<ArraySlice<UInt8>>
var singleByteMask: (UInt64, UInt64, UInt64, UInt64)
static func == (lhs: ParsingStrings, rhs: ParsingStrings) -> Bool
func contains(_ bytes: [UInt8]) -> Bool
func contains(_ byte: UInt8) -> Bool
func contains(_ scalar: UnicodeScalar) -> Bool
func containsTrie(_ slice: ArraySlice<UInt8>) -> Bool
Checks membership by walking our trie. Returns true if slice
exactly matches a terminal path.
func hash(into hasher: inout Hasher)