mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-19 11:41:31 +03:00
17 lines
378 B
Swift
17 lines
378 B
Swift
|
//
|
||
|
// Created by Tae Won Ha on 25.08.18.
|
||
|
// Copyright (c) 2018 Tae Won Ha. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import Foundation
|
||
|
|
||
|
struct FontTrait: OptionSet {
|
||
|
|
||
|
let rawValue: UInt
|
||
|
|
||
|
static let italic = FontTrait(rawValue: 1 << 0)
|
||
|
static let bold = FontTrait(rawValue: 1 << 1)
|
||
|
static let underline = FontTrait(rawValue: 1 << 2)
|
||
|
static let undercurl = FontTrait(rawValue: 1 << 3)
|
||
|
}
|