-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
114 changed files
with
47,051 additions
and
1 deletion.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,286 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>Charset Structure Reference</title> | ||
<link rel="stylesheet" type="text/css" href="../../css/jazzy.css" /> | ||
<link rel="stylesheet" type="text/css" href="../../css/highlight.css" /> | ||
<meta charset='utf-8'> | ||
<script src="../../js/jquery.min.js" defer></script> | ||
<script src="../../js/jazzy.js" defer></script> | ||
|
||
<script src="../../js/lunr.min.js" defer></script> | ||
<script src="../../js/typeahead.jquery.js" defer></script> | ||
<script src="../../js/jazzy.search.js" defer></script> | ||
</head> | ||
<body> | ||
<a name="//apple_ref/swift/Struct/Charset" class="dashAnchor"></a> | ||
<a title="Charset Structure Reference"></a> | ||
<header> | ||
<div class="content-wrapper"> | ||
<p><a href="../../index.html">Turf for Swift</a> (86% documented)</p> | ||
<p class="header-right"><a href="https://github.com/mapbox/turf-swift"><img src="../../img/gh.png" alt="GitHub"/>View on GitHub</a></p> | ||
<p class="header-right"><a href="dash-feed://https%3A%2F%2Fmapbox.github.io%2Fturf-swift%2F3.0.0%2Fdocsets%2FTurf.xml"><img src="../../img/dash.png" alt="Dash"/>Install in Dash</a></p> | ||
<div class="header-right"> | ||
<form role="search" action="../../search.json"> | ||
<input type="text" placeholder="Search documentation" data-typeahead> | ||
</form> | ||
</div> | ||
</div> | ||
</header> | ||
<div class="content-wrapper"> | ||
<p id="breadcrumbs"> | ||
<a href="../../index.html">Turf Reference</a> | ||
<img id="carat" src="../../img/carat.png" alt=""/> | ||
Charset Structure Reference | ||
</p> | ||
</div> | ||
<div class="content-wrapper"> | ||
<nav class="sidebar"> | ||
<ul class="nav-groups"> | ||
<li class="nav-group-name"> | ||
<a href="../../Enums.html">Enumerations</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../../Enums/Consumer.html">Consumer</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Enums/Consumer/Location.html">– Location</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Enums/Consumer/Match.html">– Match</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Enums/Consumer/Charset.html">– Charset</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Enums/Consumer/Error.html">– Error</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Enums/FeatureIdentifier.html">FeatureIdentifier</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Enums/GeoJSONObject.html">GeoJSONObject</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Enums/Geometry.html">Geometry</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Enums/JSONValue.html">JSONValue</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../../Extensions.html">Extensions</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../../Extensions.html#/CharacterSet">CharacterSet</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Extensions/CodingUserInfoKey.html">CodingUserInfoKey</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Extensions/JSONArray.html">JSONArray</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Extensions/JSONObject.html">JSONObject</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Extensions/LocationCoordinate2D.html">LocationCoordinate2D</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Extensions/LocationDegrees.html">LocationDegrees</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Extensions/LocationDirection.html">LocationDirection</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../../Functions.html">Functions</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../../Functions.html#/s:4Turf12intersectionySo22CLLocationCoordinate2DVSgAD_ADt_AD_ADttF">intersection(_:_:)</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Functions.html#/s:4Turf3midySo22CLLocationCoordinate2DVAD_ADtF">mid(_:_:)</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../../Protocols.html">Protocols</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../../Protocols/ForeignMemberContainer.html">ForeignMemberContainer</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Protocols/GeoJSONObjectConvertible.html">GeoJSONObjectConvertible</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Protocols/GeometryConvertible.html">GeometryConvertible</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Protocols/WKTConvertible.html">WKTConvertible</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../../Structs.html">Structures</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/BoundingBox.html">BoundingBox</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/Feature.html">Feature</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/FeatureCollection.html">FeatureCollection</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/GeometryCollection.html">GeometryCollection</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/LineString.html">LineString</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/LineString/IndexedCoordinate.html">– IndexedCoordinate</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/LocationCoordinate2D.html">LocationCoordinate2D</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/MultiLineString.html">MultiLineString</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/MultiPoint.html">MultiPoint</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/MultiPolygon.html">MultiPolygon</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/Point.html">Point</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/Polygon.html">Polygon</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/RadianCoordinate2D.html">RadianCoordinate2D</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Structs/Ring.html">Ring</a> | ||
</li> | ||
</ul> | ||
</li> | ||
<li class="nav-group-name"> | ||
<a href="../../Typealiases.html">Type Aliases</a> | ||
<ul class="nav-group-tasks"> | ||
<li class="nav-group-task"> | ||
<a href="../../Typealiases.html#/s:4Turf9JSONArraya">JSONArray</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Typealiases.html#/s:4Turf10JSONObjecta">JSONObject</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Typealiases.html#/s:4Turf11LineSegmenta">LineSegment</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Typealiases.html#/s:4Turf20LocationCoordinate2Da">LocationCoordinate2D</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Typealiases.html#/LocationDegrees">LocationDegrees</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Typealiases.html#/s:4Turf15LocationDegreesa">LocationDegrees</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Typealiases.html#/LocationDirection">LocationDirection</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Typealiases.html#/s:4Turf17LocationDirectiona">LocationDirection</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Typealiases.html#/LocationDistance">LocationDistance</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Typealiases.html#/s:4Turf16LocationDistancea">LocationDistance</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Typealiases.html#/s:4Turf15LocationRadiansa">LocationRadians</a> | ||
</li> | ||
<li class="nav-group-task"> | ||
<a href="../../Typealiases.html#/s:4Turf14RadianDistancea">RadianDistance</a> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</nav> | ||
<article class="main-content"> | ||
<section> | ||
<section class="section"> | ||
<h1>Charset</h1> | ||
<div class="declaration"> | ||
<div class="language"> | ||
|
||
<pre class="highlight swift"><code><span class="kd">struct</span> <span class="kt">Charset</span> <span class="p">:</span> <span class="kt">Hashable</span><span class="p">,</span> <span class="kt">Sendable</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
<p>Opaque type used for efficient character matching</p> | ||
|
||
<div class="slightly-smaller"> | ||
<a href="https://github.com/mapbox/turf-swift/tree/v3.0.0/Sources/Turf/Consumer/Consumer.swift#L91-L94">Show on GitHub</a> | ||
</div> | ||
</section> | ||
<section class="section task-group-section"> | ||
<div class="task-group"> | ||
<div class="task-name-container"> | ||
<a name="/Charset%20implementation"></a> | ||
<a name="//apple_ref/swift/Section/Charset implementation" class="dashAnchor"></a> | ||
<div class="section-name-container"> | ||
<a class="section-name-link" href="#/Charset%20implementation"></a> | ||
<h3 class="section-name"><span>Charset implementation</span> | ||
</h3> | ||
</div> | ||
</div> | ||
<ul> | ||
<li class="item"> | ||
<div> | ||
<code> | ||
<a name="/s:4Turf8ConsumerO7CharsetV6rangesSaySNys6UInt32VGGvp"></a> | ||
<a name="//apple_ref/swift/Property/ranges" class="dashAnchor"></a> | ||
<a class="token" href="#/s:4Turf8ConsumerO7CharsetV6rangesSaySNys6UInt32VGGvp">ranges</a> | ||
</code> | ||
</div> | ||
<div class="height-container"> | ||
<div class="pointer-container"></div> | ||
<section class="section"> | ||
<div class="pointer"></div> | ||
<div class="abstract"> | ||
<p>Undocumented</p> | ||
|
||
</div> | ||
<div class="declaration"> | ||
<h4>Declaration</h4> | ||
<div class="language"> | ||
<p class="aside-title">Swift</p> | ||
<pre class="highlight swift"><code><span class="k">var</span> <span class="nv">ranges</span><span class="p">:</span> <span class="p">[</span><span class="kt">CountableClosedRange</span><span class="o"><</span><span class="kt">UInt32</span><span class="o">></span><span class="p">]</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre> | ||
|
||
</div> | ||
</div> | ||
<div class="slightly-smaller"> | ||
<a href="https://github.com/mapbox/turf-swift/tree/v3.0.0/Sources/Turf/Consumer/Consumer.swift#L687-L716">Show on GitHub</a> | ||
</div> | ||
</section> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</section> | ||
</section> | ||
<section id="footer"> | ||
<p>© 2014–2024 <a class="link" href="https://www.mapbox.com/" target="_blank" rel="external noopener">Mapbox</a>. See <a class="link" href="https://github.com/mapbox/turf-swift/blob/main/LICENSE.md" target="_blank" rel="external noopener">license</a> for more details.</p> | ||
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external noopener">jazzy ♪♫ v0.14.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external noopener">Realm</a> project.</p> | ||
</section> | ||
</article> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.