pub(crate) trait XPathResultMethods<D: DomTypes> {
    // Required methods
    fn ResultType(&self) -> u16;
    fn GetNumberValue(&self) -> Fallible<f64>;
    fn GetStringValue(&self) -> Fallible<DOMString>;
    fn GetBooleanValue(&self) -> Fallible<bool>;
    fn GetSingleNodeValue(&self) -> Fallible<Option<DomRoot<D::Node>>>;
    fn GetInvalidIteratorState(&self) -> Fallible<bool>;
    fn GetSnapshotLength(&self) -> Fallible<u32>;
    fn IterateNext(&self) -> Fallible<Option<DomRoot<D::Node>>>;
    fn SnapshotItem(&self, index: u32) -> Fallible<Option<DomRoot<D::Node>>>;
}

Required Methods§

Implementors§