Struct egui::widgets::Hyperlink[][src]

pub struct Hyperlink { /* fields omitted */ }
Expand description

A clickable hyperlink, e.g. to "https://github.com/emilk/egui".

See also Ui::hyperlink and Ui::hyperlink_to.

ui.hyperlink("https://github.com/emilk/egui");
ui.add(egui::Hyperlink::new("https://github.com/emilk/egui").text("My favorite repo").small());

Implementations

Show some other text than the url

The default is Style::body_text_style (generally TextStyle::Body).

Trait Implementations

Allocate space, interact, paint, and return a Response. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.