pub struct IconSnapshot {
pub id: IconId,
pub display_name: String,
pub path: Option<PathBuf>,
pub is_virtual: bool,
pub position: Point,
}Expand description
Everything the enumeration layer knows about one desktop icon at the moment the snapshot was taken.
path is None for virtual items (e.g. This PC, Recycle Bin).
Fields§
§id: IconId§display_name: String§path: Option<PathBuf>§is_virtual: bool§position: PointImplementations§
Trait Implementations§
Source§impl Clone for IconSnapshot
impl Clone for IconSnapshot
Source§fn clone(&self) -> IconSnapshot
fn clone(&self) -> IconSnapshot
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 IconSnapshot
impl Debug for IconSnapshot
impl Eq for IconSnapshot
Source§impl PartialEq for IconSnapshot
impl PartialEq for IconSnapshot
Source§fn eq(&self, other: &IconSnapshot) -> bool
fn eq(&self, other: &IconSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IconSnapshot
Auto Trait Implementations§
impl Freeze for IconSnapshot
impl RefUnwindSafe for IconSnapshot
impl Send for IconSnapshot
impl Sync for IconSnapshot
impl Unpin for IconSnapshot
impl UnsafeUnpin for IconSnapshot
impl UnwindSafe for IconSnapshot
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