[][src]Struct fbxcel_dom::v7400::object::property::PropertyHandle

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

Node handle of a P node under Properties70 node.

Implementations

impl<'a> PropertyHandle<'a>[src]

pub fn node_id(&self) -> PropertyNodeId[src]

Returns a node ID.

pub fn document(&self) -> &'a Document[src]

Returns a reference to the document.

pub fn load_value<V: LoadProperty<'a>>(
    &self,
    loader: V
) -> Result<V::Value, V::Error>
[src]

Reads a value from the property handle if possible.

pub fn name(&self) -> Result<&'a str, Error>[src]

Returns proprety name.

pub fn data_type(&self) -> Result<&'a str, Error>[src]

Returns proprety type name.

pub fn label(&self) -> Result<&'a str, Error>[src]

Returns proprety label.

pub fn value_part(&self) -> &'a [AttributeValue][src]

Returns property value part of node attributes.

Trait Implementations

impl<'a> Clone for PropertyHandle<'a>[src]

impl<'a> Copy for PropertyHandle<'a>[src]

impl<'a> Debug for PropertyHandle<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for PropertyHandle<'a>[src]

impl<'a> Send for PropertyHandle<'a>[src]

impl<'a> Sync for PropertyHandle<'a>[src]

impl<'a> Unpin for PropertyHandle<'a>[src]

impl<'a> UnwindSafe for PropertyHandle<'a>[src]

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.