Haio 0.2.X
Homebrew Asset IO/CDN
Loading...
Searching...
No Matches
Haio::Codecs::Encodable Concept Reference

#include <haio_codec.hpp>

Concept definition

template<Format F, Color P>
concept Encodable = requires (Image<P> i) { { Encode<F, P>(std::move(i)) } -> std::same_as<Result<Blob>>; }
Result< Blob > Encode(Image< P >)=delete

Detailed Description

can an image of this colour be written into this container, asked of the pair rather than answered by hand.

Definition at line 227 of file haio_codec.hpp.