This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
HTML
mattt edited this page Sep 24, 2020
·
4 revisions
An object whose content can be created using string interpolation in a way that interprets values according to the context at which the interpolation occurs.
public struct HTML: LosslessStringConvertible, Equatable, Hashable
For more information, see this project's README.
Codable
, Comparable
, Equatable
, ExpressibleByStringInterpolation
, ExpressibleByStringLiteral
, Hashable
, HypertextLiteralConvertible
, LosslessStringConvertible
Creates an HTML object with the specified content.
public init(_ description: String)
- description: The HTML content.
public init(decoder: Decoder) throws
public init(stringLiteral value: String)
public init(stringInterpolation: StringInterpolation)
The HTML content.
var description: String
A representation of this instance in a hypertext literal.
var html: HTML
public static func <(lhs: HTML, rhs: HTML) -> Bool
public func encode(to encoder: Encoder) throws
Generated at 2020-09-24T18:03:31+0000 using swift-doc 1.0.0-beta.4.