pub enum Launch {
Path(PathBuf),
Url(String),
}Expand description
What launch opens, in the app the platform picks.
Variants§
Path(PathBuf)
A file in the app set for its type, a folder in the file manager, an app itself.
Url(String)
A URL in the app set for its scheme: the browser for https:, the
mail app for mailto:.
Trait Implementations§
impl Eq for Launch
impl StructuralPartialEq for Launch
Auto Trait Implementations§
impl Forget for Launch
impl Freeze for Launch
impl Move for Launch
impl RefUnwindSafe for Launch
impl Send for Launch
impl Sync for Launch
impl Unpin for Launch
impl UnsafeUnpin for Launch
impl UnwindSafe for Launch
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