pub enum NodeProperty {
Kind(Spanned<String>),
Icon(Spanned<String>),
Detail(Spanned<String>),
}Expand description
A property in a node block.
Variants§
Kind(Spanned<String>)
Authored node kind.
Icon(Spanned<String>)
Authored theme or namespaced provider icon identifier.
Detail(Spanned<String>)
Authored visible detail.
Implementations§
Trait Implementations§
Source§impl Clone for NodeProperty
impl Clone for NodeProperty
Source§fn clone(&self) -> NodeProperty
fn clone(&self) -> NodeProperty
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NodeProperty
impl Debug for NodeProperty
impl Eq for NodeProperty
Source§impl PartialEq for NodeProperty
impl PartialEq for NodeProperty
impl StructuralPartialEq for NodeProperty
Auto Trait Implementations§
impl Freeze for NodeProperty
impl RefUnwindSafe for NodeProperty
impl Send for NodeProperty
impl Sync for NodeProperty
impl Unpin for NodeProperty
impl UnsafeUnpin for NodeProperty
impl UnwindSafe for NodeProperty
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