mirror of https://github.com/SnapKit/SnapKit
Merge branch 'master' of github.com:Masonry/Snappy
This commit is contained in:
commit
0f860a014a
|
@ -38,6 +38,9 @@ internal struct ConstraintAttributes: RawOptionSetType, BooleanType {
|
||||||
internal init(_ rawValue: UInt) {
|
internal init(_ rawValue: UInt) {
|
||||||
self.init(rawValue: rawValue)
|
self.init(rawValue: rawValue)
|
||||||
}
|
}
|
||||||
|
internal init(nilLiteral: ()) {
|
||||||
|
self.rawValue = 0
|
||||||
|
}
|
||||||
|
|
||||||
internal private(set) var rawValue: UInt
|
internal private(set) var rawValue: UInt
|
||||||
internal static var allZeros: ConstraintAttributes { return self(0) }
|
internal static var allZeros: ConstraintAttributes { return self(0) }
|
||||||
|
|
Loading…
Reference in New Issue