#[repr(C)]pub struct VmbFeatureInfo {Show 14 fields
pub name: *const c_char,
pub category: *const c_char,
pub displayName: *const c_char,
pub tooltip: *const c_char,
pub description: *const c_char,
pub sfncNamespace: *const c_char,
pub unit: *const c_char,
pub representation: *const c_char,
pub featureDataType: VmbFeatureData_t,
pub featureFlags: VmbFeatureFlags_t,
pub pollingTime: VmbUint32_t,
pub visibility: VmbFeatureVisibility_t,
pub isStreamable: VmbBool_t,
pub hasSelectedFeatures: VmbBool_t,
}Expand description
\brief Feature information.
Holds read-only information about a feature.
Fields§
§name: *const c_char!< Name used in the API
category: *const c_char!< Category this feature can be found in
displayName: *const c_char!< Feature name to be used in GUIs
tooltip: *const c_char!< Short description, e.g. for a tooltip
description: *const c_char!< Longer description
sfncNamespace: *const c_char!< Namespace this feature resides in
unit: *const c_char!< Measuring unit as given in the XML file
representation: *const c_char!< Representation of a numeric feature
featureDataType: VmbFeatureData_t!< Data type of this feature
featureFlags: VmbFeatureFlags_t!< Access flags for this feature
pollingTime: VmbUint32_t!< Predefined polling time for volatile features
visibility: VmbFeatureVisibility_t!< GUI visibility
isStreamable: VmbBool_t!< Indicates if a feature can be stored to / loaded from a file
hasSelectedFeatures: VmbBool_t!< Indicates if the feature selects other features
Trait Implementations§
Source§impl Clone for VmbFeatureInfo
impl Clone for VmbFeatureInfo
Source§fn clone(&self) -> VmbFeatureInfo
fn clone(&self) -> VmbFeatureInfo
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 Debug for VmbFeatureInfo
impl Debug for VmbFeatureInfo
Source§impl PartialEq for VmbFeatureInfo
impl PartialEq for VmbFeatureInfo
impl Copy for VmbFeatureInfo
impl StructuralPartialEq for VmbFeatureInfo
Auto Trait Implementations§
impl Freeze for VmbFeatureInfo
impl RefUnwindSafe for VmbFeatureInfo
impl !Send for VmbFeatureInfo
impl !Sync for VmbFeatureInfo
impl Unpin for VmbFeatureInfo
impl UnwindSafe for VmbFeatureInfo
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