Skip to content

slint::Size Struct

template <typename T>
struct Size;
C++
#include <slint.h>
C++

The Size structure is used to represent a two-dimensional size with width and height.

T slint::Size< T >::width

The width of the size.

T slint::Size< T >::height

The height of the size.

bool slint::Size< T >::operator==(const Size &other) const =default

Compares with other and returns true if they are equal; false otherwise.


© 2026 SixtyFPS GmbH