Struct fbxcel_dom::v7400::object::property::PropertyHandle
source · [−]pub struct PropertyHandle<'a> { /* private fields */ }
Expand description
Node handle of a P
node under Properties70
node.
Implementations
sourceimpl<'a> PropertyHandle<'a>
impl<'a> PropertyHandle<'a>
sourcepub fn node_id(&self) -> PropertyNodeId
pub fn node_id(&self) -> PropertyNodeId
Returns a node ID.
sourcepub fn load_value<V: LoadProperty<'a>>(
&self,
loader: V
) -> Result<V::Value, V::Error>
pub fn load_value<V: LoadProperty<'a>>(
&self,
loader: V
) -> Result<V::Value, V::Error>
Reads a value from the property handle if possible.
sourcepub fn value_part(&self) -> &'a [AttributeValue]
pub fn value_part(&self) -> &'a [AttributeValue]
Returns property value part of node attributes.
Trait Implementations
sourceimpl<'a> Clone for PropertyHandle<'a>
impl<'a> Clone for PropertyHandle<'a>
sourcefn clone(&self) -> PropertyHandle<'a>
fn clone(&self) -> PropertyHandle<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for PropertyHandle<'a>
impl<'a> Debug for PropertyHandle<'a>
impl<'a> Copy for PropertyHandle<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PropertyHandle<'a>
impl<'a> Send for PropertyHandle<'a>
impl<'a> Sync for PropertyHandle<'a>
impl<'a> Unpin for PropertyHandle<'a>
impl<'a> UnwindSafe for PropertyHandle<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more