Remove a prefix from a method name by manually resolving methods

This commit is contained in:
Cameron Zwarich 2014-09-30 20:29:10 -07:00
parent 6358b7d94e
commit 4ef0f39c78
3 changed files with 10 additions and 5 deletions

View file

@ -11,8 +11,7 @@ use string_cache::{Atom, Namespace};
pub trait TNode<'a, E: TElement<'a>> : Clone {
fn parent_node(&self) -> Option<Self>;
/// Name is prefixed to avoid a conflict with TLayoutNode.
fn tnode_first_child(&self) -> Option<Self>;
fn first_child(&self) -> Option<Self>;
fn prev_sibling(&self) -> Option<Self>;
fn next_sibling(&self) -> Option<Self>;
fn is_document(&self) -> bool;