[−][src]Struct fbxcel_dom::v7400::data::mesh::layer::LayerHandle
Layer node.
Methods
impl<'a> LayerHandle<'a>
[src]
pub fn get_index(&self) -> Result<LayerIndex, Error>
[src]
Get layer index.
pub fn layer_element_entries(
&self
) -> impl Iterator<Item = LayerElementEntryHandle<'a>>
[src]
&self
) -> impl Iterator<Item = LayerElementEntryHandle<'a>>
Returns an iterator of layer element entries.
Methods from Deref<Target = NodeHandle<'a>>
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.
pub fn strict_eq(&self, other: &NodeHandle<'a>) -> bool
[src]
Compares nodes strictly.
Returns true
if the two trees are same.
Note that f32
and f64
values are compared bitwise.
Note that this method compares tree data, not internal states of the trees.
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> Clone for LayerHandle<'a>
[src]
fn clone(&self) -> LayerHandle<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Copy for LayerHandle<'a>
[src]
impl<'a> Debug for LayerHandle<'a>
[src]
impl<'a> Deref for LayerHandle<'a>
[src]
type Target = NodeHandle<'a>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Auto Trait Implementations
impl<'a> Send for LayerHandle<'a>
impl<'a> Sync for LayerHandle<'a>
impl<'a> Unpin for LayerHandle<'a>
impl<'a> UnwindSafe for LayerHandle<'a>
impl<'a> RefUnwindSafe for LayerHandle<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> 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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,