[][src]Struct fbxcel::tree::v7400::NodeHandle

pub struct NodeHandle<'a> { /* fields omitted */ }

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]

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_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]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]