pub enum LaunchAction {
CreateNew,
FocusExisting,
OpenInNewTab,
}Expand description
起動要求への対応。
Variants§
CreateNew
新しくウィンドウとアプリを作る。
FocusExisting
既存のウィンドウを前に出すだけ(引数なしの再起動)。
OpenInNewTab
既存のウィンドウを前に出し、引数の URL をその新しいタブで開く。
Trait Implementations§
Source§impl Clone for LaunchAction
impl Clone for LaunchAction
impl Copy for LaunchAction
Source§impl Debug for LaunchAction
impl Debug for LaunchAction
impl Eq for LaunchAction
Source§impl PartialEq for LaunchAction
impl PartialEq for LaunchAction
impl StructuralPartialEq for LaunchAction
Auto Trait Implementations§
impl Freeze for LaunchAction
impl RefUnwindSafe for LaunchAction
impl Send for LaunchAction
impl Sync for LaunchAction
impl Unpin for LaunchAction
impl UnsafeUnpin for LaunchAction
impl UnwindSafe for LaunchAction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.