pub enum NodeAttributeRef<'a> {
Camera(&'a Camera),
CameraSwitcher(&'a CameraSwitcher),
Light(&'a Light),
NullNode(&'a NullNode),
LimbNode(&'a LimbNode),
Unknown(&'a OwnedObject),
}Expand description
Borrowed polymorphic NodeAttribute reference (replacement for inheritance-style base).
Variants§
Camera(&'a Camera)
CameraSwitcher(&'a CameraSwitcher)
Light(&'a Light)
NullNode(&'a NullNode)
LimbNode(&'a LimbNode)
Unknown(&'a OwnedObject)
Implementations§
Source§impl<'a> NodeAttributeRef<'a>
impl<'a> NodeAttributeRef<'a>
pub fn inner(self) -> &'a OwnedObject
Trait Implementations§
Source§impl<'a> Clone for NodeAttributeRef<'a>
impl<'a> Clone for NodeAttributeRef<'a>
Source§fn clone(&self) -> NodeAttributeRef<'a>
fn clone(&self) -> NodeAttributeRef<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for NodeAttributeRef<'a>
impl<'a> Debug for NodeAttributeRef<'a>
Source§impl<'a> PartialEq for NodeAttributeRef<'a>
impl<'a> PartialEq for NodeAttributeRef<'a>
impl<'a> Copy for NodeAttributeRef<'a>
impl<'a> StructuralPartialEq for NodeAttributeRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for NodeAttributeRef<'a>
impl<'a> RefUnwindSafe for NodeAttributeRef<'a>
impl<'a> Send for NodeAttributeRef<'a>
impl<'a> Sync for NodeAttributeRef<'a>
impl<'a> Unpin for NodeAttributeRef<'a>
impl<'a> UnsafeUnpin for NodeAttributeRef<'a>
impl<'a> UnwindSafe for NodeAttributeRef<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more