[−][src]Enum taplo::analytics::NodeRef
Variants
Root(&'n RootNode)
Table(&'n TableNode)
Entry(&'n EntryNode)
Key(&'n KeyNode)
Value(&'n ValueNode)
Array(&'n ArrayNode)
Implementations
impl<'_> NodeRef<'_>
[src]
pub fn is_root(&self) -> bool
[src]
pub fn is_table(&self) -> bool
[src]
pub fn is_entry(&self) -> bool
[src]
pub fn is_key(&self) -> bool
[src]
pub fn is_value(&self) -> bool
[src]
pub fn is_array(&self) -> bool
[src]
impl<'_> NodeRef<'_>
[src]
pub fn text_ranges(&self) -> TextRanges
[src]
pub fn into_node(self) -> Node
[src]
Trait Implementations
impl<'n> Clone for NodeRef<'n>
[src]
impl<'n> Copy for NodeRef<'n>
[src]
impl<'n> Debug for NodeRef<'n>
[src]
impl<'n> Eq for NodeRef<'n>
[src]
impl<'n> Hash for NodeRef<'n>
[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,
impl<'n> PartialEq<NodeRef<'n>> for NodeRef<'n>
[src]
impl<'n> StructuralEq for NodeRef<'n>
[src]
impl<'n> StructuralPartialEq for NodeRef<'n>
[src]
Auto Trait Implementations
impl<'n> !RefUnwindSafe for NodeRef<'n>
impl<'n> !Send for NodeRef<'n>
impl<'n> !Sync for NodeRef<'n>
impl<'n> Unpin for NodeRef<'n>
impl<'n> !UnwindSafe for NodeRef<'n>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,