Struct NodeMeta
pub struct NodeMeta {
pub visibility: Visibility,
pub description: Option<String>,
pub tooltip: Option<String>,
pub display_name: Option<String>,
pub representation: Option<Representation>,
}Expand description
Shared metadata present on every GenICam node.
Fields§
§visibility: VisibilityVisibility level (Beginner, Expert, Guru, Invisible).
description: Option<String>Long-form description of the feature.
tooltip: Option<String>Short tooltip text for UI hover hints.
display_name: Option<String>Human-readable label (may differ from the node name).
representation: Option<Representation>Recommended UI representation for numeric features.
Trait Implementations§
§impl<'de> Deserialize<'de> for NodeMeta
impl<'de> Deserialize<'de> for NodeMeta
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NodeMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NodeMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for NodeMeta
impl Serialize for NodeMeta
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for NodeMeta
impl StructuralPartialEq for NodeMeta
Auto Trait Implementations§
impl Freeze for NodeMeta
impl RefUnwindSafe for NodeMeta
impl Send for NodeMeta
impl Sync for NodeMeta
impl Unpin for NodeMeta
impl UnwindSafe for NodeMeta
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