pub struct Ctx {
pub iface: String,
pub width: u16,
pub height: u16,
pub order: ColorOrder,
pub brightness: u8,
pub model: Option<&'static CardModel>,
}Expand description
The former global flags.
Fields§
§iface: StringNetwork interface directly connected to the receiving card.
width: u16Panel size used when no layout file is given.
height: u16§order: ColorOrderColor order on the wire.
brightness: u8Brightness 0-255, sent in sync frames.
model: Option<&'static CardModel>The card’s model: --card, the daemon’s card setting, or what
discovery returned; None until one of those has named it.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ctx
impl RefUnwindSafe for Ctx
impl Send for Ctx
impl Sync for Ctx
impl Unpin for Ctx
impl UnsafeUnpin for Ctx
impl UnwindSafe for Ctx
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