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§impl Debug for IconSnapshot
impl Debug for IconSnapshot
impl Eq for IconSnapshot
Source§impl PartialEq for IconSnapshot
impl PartialEq for IconSnapshot
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