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

Required Methods§

Implementors§