[−][src]Struct alacritty::url::Urls
Fields
locator: UrlLocator
urls: Vec<Url>
scheme_buffer: Vec<(Point, Rgb)>
last_point: Option<Point>
state: UrlLocation
Implementations
impl Urls
[src]
pub fn new() -> Self
[src]
pub fn update(&mut self, num_cols: Column, cell: &RenderableCell)
[src]
fn extend_url(&mut self, start: Point, end: Point, color: Rgb, end_offset: u16)
[src]
Extend the last URL.
pub fn highlighted(
&self,
config: &TermConfig<UIConfig>,
mouse: &Mouse,
mods: ModifiersState,
mouse_mode: bool,
selection: bool
) -> Option<Url>
[src]
&self,
config: &TermConfig<UIConfig>,
mouse: &Mouse,
mods: ModifiersState,
mouse_mode: bool,
selection: bool
) -> Option<Url>
Find URL below the mouse cursor.
pub fn find_at(&self, point: Point) -> Option<Url>
[src]
Find URL at location.
fn reset(&mut self)
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Urls
impl Send for Urls
impl Sync for Urls
impl Unpin for Urls
impl UnwindSafe for Urls
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,