Struct wled_json_api_library::structures::cfg::cfg_hw::cfg_hw_led::Panel
source · pub struct Panel {
pub b: Option<bool>,
pub r: Option<bool>,
pub v: Option<bool>,
pub s: Option<bool>,
pub x: Option<u16>,
pub y: Option<u16>,
pub h: Option<u8>,
pub w: Option<u8>,
}Fields§
§b: Option<bool>starts at bottom?
r: Option<bool>starts on right?
v: Option<bool>is vertical?
s: Option<bool>is serpentine?
x: Option<u16>x offset relative to the top left of matrix in LEDs
y: Option<u16>y offset relative to the top left of matrix in LEDs
h: Option<u8>height of the panel
w: Option<u8>width of the panel
Trait Implementations§
source§impl<'de> Deserialize<'de> for Panel
impl<'de> Deserialize<'de> for Panel
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
source§impl PartialEq for Panel
impl PartialEq for Panel
impl StructuralPartialEq for Panel
Auto Trait Implementations§
impl RefUnwindSafe for Panel
impl Send for Panel
impl Sync for Panel
impl Unpin for Panel
impl UnwindSafe for Panel
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