ShowFlags

public struct ShowFlags : OptionSet

These flags affect how Pango treats characters that are normally not visible in the output.

  • The corresponding value of the raw type

    Declaration

    Swift

    public var rawValue: UInt32
  • The equivalent raw Int value

    Declaration

    Swift

    @inlinable
    public var intValue: Int { get set }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    @inlinable
    public var int: gint { get set }
  • The equivalent underlying PangoShowFlags enum value

    Declaration

    Swift

    @inlinable
    public var value: PangoShowFlags { get set }
  • Creates a new instance with the specified raw value

    Declaration

    Swift

    @inlinable
    public init(rawValue: UInt32)
  • Creates a new instance with the specified PangoShowFlags enum value

    Declaration

    Swift

    @inlinable
    public init(_ enumValue: PangoShowFlags)
  • Creates a new instance with the specified Int value

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • No special treatment for invisible characters

    Declaration

    Swift

    public static let none: ShowFlags
  • Render spaces, tabs and newlines visibly

    Declaration

    Swift

    public static let spaces: ShowFlags
  • Render line breaks visibly

    Declaration

    Swift

    public static let lineBreaks: ShowFlags
  • Render default-ignorable Unicode characters visibly

    Declaration

    Swift

    public static let ignorables: ShowFlags