Trait HyperlinkExt

Source
pub trait HyperlinkExt: 'static {
    // Required methods
    fn get_end_index(&self) -> i32;
    fn get_n_anchors(&self) -> i32;
    fn get_object(&self, i: i32) -> Option<Object>;
    fn get_start_index(&self) -> i32;
    fn get_uri(&self, i: i32) -> Option<GString>;
    fn is_inline(&self) -> bool;
    fn is_valid(&self) -> bool;
    fn get_property_number_of_anchors(&self) -> i32;
    fn connect_link_activated<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
    fn connect_property_end_index_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
    fn connect_property_number_of_anchors_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
    fn connect_property_start_index_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

Source

fn get_end_index(&self) -> i32

Source

fn get_n_anchors(&self) -> i32

Source

fn get_object(&self, i: i32) -> Option<Object>

Source

fn get_start_index(&self) -> i32

Source

fn get_uri(&self, i: i32) -> Option<GString>

Source

fn is_inline(&self) -> bool

Source

fn is_valid(&self) -> bool

Source

fn get_property_number_of_anchors(&self) -> i32

Source

fn connect_property_end_index_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_number_of_anchors_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_property_start_index_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§