pub struct WindowsRelaunch {
pub command: String,
pub display_name: String,
pub icon: Option<WindowsIconResource>,
}Expand description
What a pin of a window starts, and how the pin shows (System.AppUserModel.RelaunchCommand,
RelaunchDisplayNameResource, RelaunchIconResource).
Fields§
§command: StringThe whole command line a pin runs, its program quoted where its path has spaces.
display_name: StringThe pin’s name.
icon: Option<WindowsIconResource>The pin’s icon; the program’s where None. An icon Windows cannot load makes it drop the
whole relaunch, command and name too, without a word: the pin then starts the process’s
executable alone.
Trait Implementations§
Source§impl Clone for WindowsRelaunch
impl Clone for WindowsRelaunch
Source§impl Debug for WindowsRelaunch
impl Debug for WindowsRelaunch
Source§impl PartialEq for WindowsRelaunch
impl PartialEq for WindowsRelaunch
impl StructuralPartialEq for WindowsRelaunch
Auto Trait Implementations§
impl Forget for WindowsRelaunch
impl Freeze for WindowsRelaunch
impl Move for WindowsRelaunch
impl RefUnwindSafe for WindowsRelaunch
impl Send for WindowsRelaunchwhere
RawVecInner: Send,
impl Sync for WindowsRelaunchwhere
RawVecInner: Sync,
impl Unpin for WindowsRelaunch
impl UnsafeUnpin for WindowsRelaunch
impl UnwindSafe for WindowsRelaunchwhere
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