pub struct IconId(/* private fields */);Expand description
Stable, opaque identifier for a single desktop icon.
On the Windows backend this is the hex-encoded UTF-16 representation of
the desktop-relative path (or display name for virtual items — This PC,
Recycle Bin, etc.), byte-identical to the legacy positioner_c_part
implementation.
The identifier is designed to survive a JSON round-trip, so it is safe to return from a Python binding, hand off to an MCP client, and pass back on a subsequent call.
Implementations§
Trait Implementations§
impl Eq for IconId
Source§impl Ord for IconId
impl Ord for IconId
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 IconId
impl PartialOrd for IconId
impl StructuralPartialEq for IconId
Auto Trait Implementations§
impl Freeze for IconId
impl RefUnwindSafe for IconId
impl Send for IconId
impl Sync for IconId
impl Unpin for IconId
impl UnsafeUnpin for IconId
impl UnwindSafe for IconId
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