pub struct OpenUrl {
pub url: String,
pub new_tab: bool,
}
Expand description
What URL to open, and how.
Use with crate::Context::open_url
.
Fields§
§url: String
§new_tab: bool
If true
, open the url in a new tab.
If false
open it in the same tab.
Only matters when in a web browser.
Implementations§
Trait Implementations§
source§impl PartialEq for OpenUrl
impl PartialEq for OpenUrl
impl Eq for OpenUrl
impl StructuralEq for OpenUrl
impl StructuralPartialEq for OpenUrl
Auto Trait Implementations§
impl RefUnwindSafe for OpenUrl
impl Send for OpenUrl
impl Sync for OpenUrl
impl Unpin for OpenUrl
impl UnwindSafe for OpenUrl
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