mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +00:00
Run clang-format over C++ files
This commit is contained in:
parent
1884497308
commit
ca6dfc0cb5
12 changed files with 141 additions and 107 deletions
|
@ -3,13 +3,13 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
|
||||
namespace slint {
|
||||
|
||||
/// The Size structure is used to represent a two-dimensional size
|
||||
/// with width and height.
|
||||
template <typename T>
|
||||
struct Size {
|
||||
template<typename T>
|
||||
struct Size
|
||||
{
|
||||
/// The width of the size
|
||||
T width;
|
||||
/// The height of the size
|
||||
|
@ -20,10 +20,10 @@ struct Size {
|
|||
};
|
||||
|
||||
namespace cbindgen_private {
|
||||
// The Size types are expanded to the Size2D<...> type from the euclid crate which
|
||||
// is binary compatible with Size<T>
|
||||
template <typename T> using Size2D = Size<T>;
|
||||
// The Size types are expanded to the Size2D<...> type from the euclid crate which
|
||||
// is binary compatible with Size<T>
|
||||
template<typename T>
|
||||
using Size2D = Size<T>;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue