Trait webkit2gtk_webextension::DOMRangeExt[][src]

pub trait DOMRangeExt {
    fn clone_range(&self) -> Result<DOMRange, Error>;
fn collapse(&self, toStart: bool) -> Result<(), Error>;
fn compare_boundary_points(
        &self,
        how: c_ushort,
        sourceRange: &DOMRange
    ) -> Result<c_short, Error>;
fn compare_node<P: IsA<DOMNode>>(
        &self,
        refNode: &P
    ) -> Result<c_short, Error>;
fn compare_point<P: IsA<DOMNode>>(
        &self,
        refNode: &P,
        offset: c_long
    ) -> Result<c_short, Error>;
fn delete_contents(&self) -> Result<(), Error>;
fn detach(&self) -> Result<(), Error>;
fn get_collapsed(&self) -> Result<(), Error>;
fn get_common_ancestor_container(&self) -> Result<DOMNode, Error>;
fn get_end_container(&self) -> Result<DOMNode, Error>;
fn get_end_offset(&self) -> Result<c_long, Error>;
fn get_start_container(&self) -> Result<DOMNode, Error>;
fn get_start_offset(&self) -> Result<c_long, Error>;
fn get_text(&self) -> Option<String>;
fn insert_node<P: IsA<DOMNode>>(&self, newNode: &P) -> Result<(), Error>;
fn intersects_node<P: IsA<DOMNode>>(&self, refNode: &P) -> Result<(), Error>;
fn is_point_in_range<P: IsA<DOMNode>>(
        &self,
        refNode: &P,
        offset: c_long
    ) -> Result<(), Error>;
fn select_node<P: IsA<DOMNode>>(&self, refNode: &P) -> Result<(), Error>;
fn select_node_contents<P: IsA<DOMNode>>(
        &self,
        refNode: &P
    ) -> Result<(), Error>;
fn set_end<P: IsA<DOMNode>>(
        &self,
        refNode: &P,
        offset: c_long
    ) -> Result<(), Error>;
fn set_end_after<P: IsA<DOMNode>>(&self, refNode: &P) -> Result<(), Error>;
fn set_end_before<P: IsA<DOMNode>>(&self, refNode: &P) -> Result<(), Error>;
fn set_start<P: IsA<DOMNode>>(
        &self,
        refNode: &P,
        offset: c_long
    ) -> Result<(), Error>;
fn set_start_after<P: IsA<DOMNode>>(&self, refNode: &P) -> Result<(), Error>;
fn set_start_before<P: IsA<DOMNode>>(
        &self,
        refNode: &P
    ) -> Result<(), Error>;
fn surround_contents<P: IsA<DOMNode>>(
        &self,
        newParent: &P
    ) -> Result<(), Error>;
fn to_string(&self) -> Result<String, Error>;
fn connect_property_collapsed_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_common_ancestor_container_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_end_container_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_end_offset_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_start_container_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_start_offset_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required Methods

Implementors