Mir
Public Types | Public Member Functions | Public Attributes | List of all members
mir::geometry::generic::Size< T > Struct Template Reference

#include <size.h>

Public Types

using ValueType = T
 

Public Member Functions

constexpr Size () noexcept
 
constexpr Size (Size const &) noexcept=default
 
Sizeoperator= (Size const &) noexcept=default
 
template<typename U >
constexpr Size (Size< U > const &other) noexcept
 
template<typename WidthType , typename HeightType >
constexpr Size (WidthType &&width, HeightType &&height) noexcept
 

Public Attributes

Width< T > width
 
Height< T > height
 

Member Typedef Documentation

◆ ValueType

template<typename T >
using mir::geometry::generic::Size< T >::ValueType = T

Constructor & Destructor Documentation

◆ Size() [1/4]

template<typename T >
constexpr mir::geometry::generic::Size< T >::Size ( )
inlineconstexprnoexcept

◆ Size() [2/4]

template<typename T >
constexpr mir::geometry::generic::Size< T >::Size ( Size< T > const &  )
constexprdefaultnoexcept

◆ Size() [3/4]

template<typename T >
template<typename U >
constexpr mir::geometry::generic::Size< T >::Size ( Size< U > const &  other)
inlineexplicitconstexprnoexcept

◆ Size() [4/4]

template<typename T >
template<typename WidthType , typename HeightType >
constexpr mir::geometry::generic::Size< T >::Size ( WidthType &&  width,
HeightType &&  height 
)
inlineconstexprnoexcept

Member Function Documentation

◆ operator=()

template<typename T >
Size & mir::geometry::generic::Size< T >::operator= ( Size< T > const &  )
defaultnoexcept

Member Data Documentation

◆ height

template<typename T >
Height<T> mir::geometry::generic::Size< T >::height

◆ width

template<typename T >
Width<T> mir::geometry::generic::Size< T >::width

The documentation for this struct was generated from the following file:

Copyright © 2012-2023 Canonical Ltd.
Generated on Tue 2 May 10:01:24 UTC 2023
This documentation is licensed under the GPL version 2 or 3.