[−][src]Struct fbxcel::tree::v7400::NodeHandle
Node handle.
Methods
impl<'a> NodeHandle<'a>
[src]
pub fn tree(&self) -> &'a Tree
[src]
Returns a reference to the tree.
pub fn node_id(&self) -> NodeId
[src]
Returns the node ID.
pub fn name(&self) -> &'a str
[src]
Returns the node name.
pub fn attributes(&self) -> &'a [AttributeValue]
[src]
Returns the node attributes.
pub fn children(&self) -> impl Iterator<Item = NodeHandle<'a>> + 'a
[src]
Returns an iterator of children with the given name.
pub fn children_by_name(
&self,
name: &str
) -> impl Iterator<Item = NodeHandle<'a>> + 'a
[src]
&self,
name: &str
) -> impl Iterator<Item = NodeHandle<'a>> + 'a
Returns an iterator of children with the given name.
impl<'a> NodeHandle<'a>
[src]
pub fn parent(&self) -> Option<NodeHandle<'a>>
[src]
Returns parent node handle if available.
pub fn first_child(&self) -> Option<NodeHandle<'a>>
[src]
Returns first child node handle if available.
pub fn last_child(&self) -> Option<NodeHandle<'a>>
[src]
Returns last child node handle if available.
pub fn previous_sibling(&self) -> Option<NodeHandle<'a>>
[src]
Returns previous sibling node handle if available.
pub fn next_sibling(&self) -> Option<NodeHandle<'a>>
[src]
Returns next sibling node handle if available.
Trait Implementations
impl<'a> Copy for NodeHandle<'a>
[src]
impl<'a> Clone for NodeHandle<'a>
[src]
fn clone(&self) -> NodeHandle<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for NodeHandle<'a>
[src]
Auto Trait Implementations
impl<'a> Send for NodeHandle<'a>
impl<'a> Sync for NodeHandle<'a>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,