FastLED
3.9.15
Loading...
Searching...
No Matches
insert_result.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
fl
{
4
5
// Because of the fixed size nature of a lot of FastLED's containers we
6
// need to provide additional feedback to the caller about the nature of
7
// why an insert did or did not happen. Specifically, we want to differentiate
8
// between failing to insert because the item already existed and when the container
9
// was full.
10
enum
InsertResult
{
11
kInserted
= 0,
12
kExists
= 1,
13
kMaxSize
= 2,
14
};
15
16
}
// namespace fl
fl::InsertResult
InsertResult
Definition
insert_result.h:10
fl::kMaxSize
@ kMaxSize
Definition
insert_result.h:13
fl::kExists
@ kExists
Definition
insert_result.h:12
fl::kInserted
@ kInserted
Definition
insert_result.h:11
fl
Implements a simple red square effect for 2D LED grids.
Definition
crgb.h:16
fl
insert_result.h
Generated on Fri Apr 18 2025 03:39:31 for FastLED by
1.13.2