pub struct Led {
pub total: Option<u16>,
pub maxpwr: Option<u16>,
pub ledma: Option<u8>,
pub cct: Option<bool>,
pub cr: Option<bool>,
pub cb: Option<u8>,
pub fps: Option<u8>,
pub rgbwm: Option<u8>,
pub ld: Option<bool>,
pub matrix: Option<Matrix>,
pub ins: Option<Vec<PhysicalWledBusInfo>>,
}
Fields§
§total: Option<u16>
get total legth; no longer read as of WLED 14.0, but provided for compatibility on downgrade
maxpwr: Option<u16>
max milliamps
ledma: Option<u8>
milliamps per LED
cct: Option<bool>
CCT color correction of RGB color
cr: Option<bool>
CCT is calculated from RGB instead of using seg.cct
cb: Option<u8>
CCT Blending
fps: Option<u8>
Target FPS
rgbwm: Option<u8>
global auto white mode override; 255 = Global auto white mode override disabled. Per-bus setting is used
ld: Option<bool>
use Global Led Buffer
matrix: Option<Matrix>
if using 2d WLED
ins: Option<Vec<PhysicalWledBusInfo>>
WLED busses
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Led
impl<'de> Deserialize<'de> for Led
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Led
Auto Trait Implementations§
impl Freeze for Led
impl RefUnwindSafe for Led
impl Send for Led
impl Sync for Led
impl Unpin for Led
impl UnwindSafe for Led
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more