pub enum LEDFeedbackState {
On,
Off,
Unspecified(String),
}Variants§
On
Off
Unspecified(String)
Allows passing a value that was not known at the time that this crate was generated from the available device descriptions
Trait Implementations§
Source§impl Clone for LEDFeedbackState
impl Clone for LEDFeedbackState
Source§fn clone(&self) -> LEDFeedbackState
fn clone(&self) -> LEDFeedbackState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LEDFeedbackState
impl Debug for LEDFeedbackState
Source§impl Default for LEDFeedbackState
impl Default for LEDFeedbackState
Source§fn default() -> LEDFeedbackState
fn default() -> LEDFeedbackState
Returns the “default value” for a type. Read more
Source§impl FromStr for LEDFeedbackState
impl FromStr for LEDFeedbackState
Source§impl<'xml> FromXml<'xml> for LEDFeedbackState
impl<'xml> FromXml<'xml> for LEDFeedbackState
const KIND: Kind = instant_xml::Kind::Scalar
type Accumulator = Option<LEDFeedbackState>
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
Source§impl PartialEq for LEDFeedbackState
impl PartialEq for LEDFeedbackState
Source§impl ToString for LEDFeedbackState
impl ToString for LEDFeedbackState
Source§impl ToXml for LEDFeedbackState
impl ToXml for LEDFeedbackState
impl Eq for LEDFeedbackState
impl StructuralPartialEq for LEDFeedbackState
Auto Trait Implementations§
impl Freeze for LEDFeedbackState
impl RefUnwindSafe for LEDFeedbackState
impl Send for LEDFeedbackState
impl Sync for LEDFeedbackState
impl Unpin for LEDFeedbackState
impl UnwindSafe for LEDFeedbackState
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