pub enum WidgetId {
Custom(String),
Unique(usize),
}Expand description
An iced_core::widget::Id, read from its Debug form.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WidgetId
impl<'de> Deserialize<'de> for WidgetId
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
impl Eq for WidgetId
Source§impl Ord for WidgetId
impl Ord for WidgetId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for WidgetId
impl PartialOrd for WidgetId
impl StructuralPartialEq for WidgetId
Auto Trait Implementations§
impl Forget for WidgetId
impl Freeze for WidgetId
impl Move for WidgetId
impl RefUnwindSafe for WidgetId
impl Send for WidgetIdwhere
RawVecInner: Send,
impl Sync for WidgetIdwhere
RawVecInner: Sync,
impl Unpin for WidgetId
impl UnsafeUnpin for WidgetId
impl UnwindSafe for WidgetIdwhere
RawVecInner: UnwindSafe,
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