[−][src]Struct kg_tree::opath::Opath
Methods
impl Opath[src]
pub fn parse(expr: &str) -> Result<Opath, OpathParseError>[src]
pub fn parse_opt_delims(
expr: &str,
open_delim: &str,
close_delim: &str
) -> Result<Opath, OpathParseError>[src]
expr: &str,
open_delim: &str,
close_delim: &str
) -> Result<Opath, OpathParseError>
pub fn between<'a>(from: &NodeRef, to: &NodeRef) -> Opath[src]
pub fn from<'a>(node: &NodeRef) -> Opath[src]
pub fn string(value: String) -> Opath[src]
pub fn boolean(value: bool) -> Opath[src]
pub fn null() -> Opath[src]
pub fn root() -> Opath[src]
pub fn current() -> Opath[src]
pub fn json(json: String) -> Opath[src]
pub fn apply(&self, root: &NodeRef, current: &NodeRef) -> NodeSet[src]
pub fn apply_ext(
&self,
root: &NodeRef,
current: &NodeRef,
scope: &Scope
) -> NodeSet[src]
&self,
root: &NodeRef,
current: &NodeRef,
scope: &Scope
) -> NodeSet
pub fn apply_one(&self, root: &NodeRef, current: &NodeRef) -> NodeRef[src]
pub fn apply_one_ext(
&self,
root: &NodeRef,
current: &NodeRef,
scope: &Scope
) -> NodeRef[src]
&self,
root: &NodeRef,
current: &NodeRef,
scope: &Scope
) -> NodeRef
pub fn parent_path(&self) -> Option<Opath>[src]
Trait Implementations
impl PartialEq<Opath> for Opath[src]
fn eq(&self, other: &Opath) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Eq for Opath[src]
impl Default for Opath[src]
impl Clone for Opath[src]
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)[src]
impl Hash for Opath[src]
fn hash<H: Hasher>(&self, state: &mut H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for Opath[src]
impl Display for Opath[src]
impl Serialize for Opath[src]
impl<'de> Deserialize<'de> for Opath[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Opath
impl Unpin for Opath
impl Sync for Opath
impl UnwindSafe for Opath
impl RefUnwindSafe for Opath
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,