[−][src]Struct fbxcel_dom::v7400::data::mesh::layer::LayerElementEntryHandle
Layer element entry node.
The nodes may be children of a Layer
element.
They have simple metadata but not layer element content itself.
Methods
impl<'a> LayerElementEntryHandle<'a>
[src]
pub fn type_str(&self) -> Result<&'a str, Error>
[src]
Returns layer element type string.
pub fn type_(&self) -> Result<LayerElementType, Error>
[src]
Returns layer element type.
pub fn typed_index(&self) -> Result<LayerElementIndex, Error>
[src]
Returns the layer element index in the same type.
pub fn typed_layer_element(&self) -> Result<TypedLayerElementHandle<'a>, Error>
[src]
Returns typed layer element handle.
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 LayerElementEntryHandle<'a>
[src]
fn clone(&self) -> LayerElementEntryHandle<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Copy for LayerElementEntryHandle<'a>
[src]
impl<'a> Debug for LayerElementEntryHandle<'a>
[src]
impl<'a> Deref for LayerElementEntryHandle<'a>
[src]
type Target = NodeHandle<'a>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Auto Trait Implementations
impl<'a> Send for LayerElementEntryHandle<'a>
impl<'a> Sync for LayerElementEntryHandle<'a>
impl<'a> Unpin for LayerElementEntryHandle<'a>
impl<'a> UnwindSafe for LayerElementEntryHandle<'a>
impl<'a> RefUnwindSafe for LayerElementEntryHandle<'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,