pub enum How {
Auto,
Outside,
Inside,
Reveal,
}Expand description
How a link opens.
Variants§
Auto
What the policy picks for its kind (a plain click).
Outside
Outside the application: the browser, the mail client, the system’s default application, the file manager (Ctrl+click, middle click).
Inside
Inside the application: its viewer, its own scheme, a command.
Reveal
The file manager, with the file selected.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for How
impl<'de> Deserialize<'de> for How
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for How
impl Eq for How
impl StructuralPartialEq for How
Auto Trait Implementations§
impl Freeze for How
impl RefUnwindSafe for How
impl Send for How
impl Sync for How
impl Unpin for How
impl UnsafeUnpin for How
impl UnwindSafe for How
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