mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-08-16 02:56:22 +00:00
35 lines
702 B
Swift
Generated
35 lines
702 B
Swift
Generated
///
|
|
/// Resolution.swift
|
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
/// https://github.com/mrousavy/nitro
|
|
/// Copyright © Marc Rousavy @ Margelo
|
|
///
|
|
|
|
import NitroModules
|
|
|
|
/**
|
|
* Represents an instance of `Resolution`, backed by a C++ struct.
|
|
*/
|
|
public typealias Resolution = margelo.nitro.video.Resolution
|
|
|
|
public extension Resolution {
|
|
private typealias bridge = margelo.nitro.video.bridge.swift
|
|
|
|
/**
|
|
* Create a new instance of `Resolution`.
|
|
*/
|
|
init(width: Double, height: Double) {
|
|
self.init(width, height)
|
|
}
|
|
|
|
@inline(__always)
|
|
var width: Double {
|
|
return self.__width
|
|
}
|
|
|
|
@inline(__always)
|
|
var height: Double {
|
|
return self.__height
|
|
}
|
|
}
|