pub struct Led(/* private fields */);Expand description
LED_*: A device LED or other indicator.
This is the event code of LedEvents.
Implementations§
Source§impl Led
impl Led
pub const NUML: Self
pub const CAPSL: Self
pub const SCROLLL: Self
pub const COMPOSE: Self
pub const KANA: Self
pub const SLEEP: Self
pub const SUSPEND: Self
pub const MUTE: Self
pub const MISC: Self
pub const MAIL: Self
pub const CHARGING: Self
Trait Implementations§
Source§impl<'a> Deserialize<'a> for Led
Available on crate feature serde only.Deserialization from a raw 16-bit code or a named constant.
impl<'a> Deserialize<'a> for Led
Available on crate feature
serde only.Deserialization from a raw 16-bit code or a named constant.
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Led
impl Ord for Led
Source§impl PartialOrd for Led
impl PartialOrd for Led
impl Copy for Led
impl Eq for Led
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