Struct comfy_wgpu::egui::Link
source · pub struct Link { /* private fields */ }Expand description
Clickable text, that looks like a hyperlink.
To link to a web page, use Hyperlink, Ui::hyperlink or Ui::hyperlink_to.
See also Ui::link.
// These are equivalent:
if ui.link("Documentation").clicked() {
// …
}
if ui.add(egui::Link::new("Documentation")).clicked() {
// …
}Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnwindSafe for Link
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