Enum bismuth::cube::Node
[−]
[src]
pub enum Node { Leaf(LeafNode), Branch(BranchNode), }
Variants
Leaf(LeafNode)
Branch(BranchNode)
pub enum Node { Leaf(LeafNode), Branch(BranchNode), }
Leaf(LeafNode)
Branch(BranchNode)
impl Node
[src]pub fn is_leaf(&self) -> bool
[src]pub fn as_leaf(&self) -> Option<&LeafNode>
[src]pub fn as_leaf_mut(&mut self) -> Option<&mut LeafNode>
[src]pub fn as_branch(&self) -> Option<&BranchNode>
[src]pub fn as_branch_mut(&mut self) -> Option<&mut BranchNode>
[src]