mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-29 16:56:40 +03:00
21 lines
439 B
Swift
21 lines
439 B
Swift
/**
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
* See LICENSE
|
|
*/
|
|
|
|
import Foundation
|
|
|
|
public struct FontTrait: OptionSet {
|
|
|
|
public let rawValue: UInt
|
|
|
|
public init(rawValue: UInt) {
|
|
self.rawValue = rawValue
|
|
}
|
|
|
|
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)
|
|
}
|