Docs.rs
  • im-pathtree-0.13.0
    • im-pathtree 0.13.0
    • Permalink
    • Docs.rs crate page
    • MPL-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • uklotzde
    • Dependencies
      • derive_more ^1.0.0 normal
      • im ^15.1.0 normal optional
      • itertools ^0.13.0 normal
      • log ^0.4.22 normal
    • Versions
    • 50.62% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate im_pathtree

im_pathtree0.13.0

  • All Items

Crate Items

  • Structs
  • Enums
  • Traits

Crates

  • im_pathtree

Crate im_pathtree

Source
Expand description

Immutable, path-addressable tree data structure.

Structs§

AncestorTreeNodeIter
Iterator over all ancestor nodes of the given node.
DepthFirstDescendantsIter
Iterator over descendants of a node
HalfEdge
Half-edge to another node in the tree.
HalfEdgeOwned
Half-edge to another node in the tree.
HalfEdgeTreeNode
Half-edge to another node in the tree.
InnerNode
Intrinsic data of an inner node.
LeafNode
Intrinsic data of a leaf node.
NodeInsertedOrUpdated
NodePathResolved
ParentNodeUpdated
PathTree
Cheaply clonable path tree structure.
SubtreeInsertedOrReplaced
Return type when inserting or replacing a subtree.
SubtreeRemoved
Return type when removing a node from the tree.
TreeNode
Immutable node in the tree.
TreeNodeParentChildPathConflict
A conflicting path from a parent to a child node.

Enums§

InsertOrUpdateNodeValueError
MatchNodePath
Node
NodePathMatched
NodeValue
UpdateNodeValueError

Traits§

NewNodeId
PathSegment
Borrowed path segment.
PathTreeTypes
Type system for PathTree.
RootPath
SegmentedPath with a root element.
SegmentedPath
Decomposition of a path into segments.

Results

Settings
Help

Type "NodeId" not found. Showing results for closest type name "node" instead.

    assoc type
    im_pathtree::PathTreeTypes::NodeId
    struct field
    im_pathtree::HalfEdgeOwned::node_id
    The id of the target node.
    struct field
    im_pathtree::HalfEdge::node_id
    The id of the target node.
    trait
    im_pathtree::NewNodeId
    assoc type
    im_pathtree::PathTreeTypes::NewNodeId
    trait method
    im_pathtree::NewNodeId::new_node_id
    method
    im_pathtree::PathTree::root_node_id
    struct field
    im_pathtree::SubtreeInsertedOrReplaced::child_node_id
    The root node of the inserted subtree.
    struct field
    im_pathtree::HalfEdgeTreeNode::node
    The target node.
    struct field
    im_pathtree::NodeInsertedOrUpdated::node
    The new child node.
    struct field
    im_pathtree::ParentNodeUpdated::node
    The new parent node.
    struct field
    im_pathtree::TreeNode::node
    The actual content of this node.
    enum
    im_pathtree::Node
    struct field
    im_pathtree::NodePathResolved::node
    method
    im_pathtree::PathTree::nodes
    All nodes in no particular order.
    method
    im_pathtree::Node::children_count
    &Node<T> -> usize
    Returns the number of children.
    method
    im_pathtree::Node::find_child
    &Node<T>, & -> Option
    Find a child node by its path segment.
    method
    im_pathtree::Node::leaf_value
    &Node<T> -> Option<&>
    method
    im_pathtree::Node::inner_value
    &Node<T> -> Option<&>
    method
    im_pathtree::Node::clone
    &Node<T> -> Node<T>
    method
    im_pathtree::Node::children
    &Node<T> -> <ExactSizeIterator<Item=HalfEdge<T>>>
    Returns an iterator over all children of this node
    method
    im_pathtree::Node::fmt
    &Node<T>, &mut Formatter -> Result
    struct field
    im_pathtree::TreeNode::node
    TreeNode -> Node
    The actual content of this node.
    method
    im_pathtree::Node::from
    LeafNode -> Node<T>
    method
    im_pathtree::Node::clone
    &Node<T> -> Node<T>