pub struct UnknownIcon {
pub display_name: Option<String>,
pub display_identifier: Option<String>,
pub icon_type: Option<String>,
pub list_type: Option<String>,
}Expand description
An icon entry that doesn’t match any known pattern. Preserves whatever fields the device sent so callers can inspect them if needed.
Fields§
§display_name: Option<String>§display_identifier: Option<String>§icon_type: Option<String>§list_type: Option<String>Trait Implementations§
Source§impl Clone for UnknownIcon
impl Clone for UnknownIcon
Source§fn clone(&self) -> UnknownIcon
fn clone(&self) -> UnknownIcon
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnknownIcon
impl Debug for UnknownIcon
Source§impl PartialEq for UnknownIcon
impl PartialEq for UnknownIcon
Source§fn eq(&self, other: &UnknownIcon) -> bool
fn eq(&self, other: &UnknownIcon) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for UnknownIcon
impl StructuralPartialEq for UnknownIcon
Auto Trait Implementations§
impl Freeze for UnknownIcon
impl RefUnwindSafe for UnknownIcon
impl Send for UnknownIcon
impl Sync for UnknownIcon
impl Unpin for UnknownIcon
impl UnsafeUnpin for UnknownIcon
impl UnwindSafe for UnknownIcon
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.