cesium-native 0.43.0
Loading...
Searching...
No Matches
CesiumGltf::MetadataConversions< T, T > Struct Template Reference

Trivially converts any type to itself. More...

#include <CesiumGltf/MetadataConversions.h>

Static Public Member Functions

static std::optional< T > convert (T from)
 Converts an instance of T to an instance of T, always returning the same value that was passed in.
 

Detailed Description

template<typename T>
struct CesiumGltf::MetadataConversions< T, T >

Trivially converts any type to itself.

Definition at line 40 of file MetadataConversions.h.

Member Function Documentation

◆ convert()

template<typename T >
static std::optional< T > CesiumGltf::MetadataConversions< T, T >::convert ( T from)
inlinestatic

Converts an instance of T to an instance of T, always returning the same value that was passed in.

Definition at line 45 of file MetadataConversions.h.


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