pub struct VcpDescriptor {
pub name: Option<String>,
pub values: ValueNames,
}Expand description
Descriptive information about a supported VCP feature code.
Fields§
§name: Option<String>The name of the feature code, if different from the standard MCCS spec.
values: ValueNamesAllowed values for this feature, and optionally their names.
This is used for non-continuous VCP types.
Implementations§
Trait Implementations§
Source§impl Clone for VcpDescriptor
impl Clone for VcpDescriptor
Source§fn clone(&self) -> VcpDescriptor
fn clone(&self) -> VcpDescriptor
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 VcpDescriptor
impl Debug for VcpDescriptor
Source§impl Default for VcpDescriptor
impl Default for VcpDescriptor
Source§fn default() -> VcpDescriptor
fn default() -> VcpDescriptor
Returns the “default value” for a type. Read more
Source§impl Hash for VcpDescriptor
impl Hash for VcpDescriptor
Source§impl Ord for VcpDescriptor
impl Ord for VcpDescriptor
Source§fn cmp(&self, other: &VcpDescriptor) -> Ordering
fn cmp(&self, other: &VcpDescriptor) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VcpDescriptor
impl PartialEq for VcpDescriptor
Source§impl PartialOrd for VcpDescriptor
impl PartialOrd for VcpDescriptor
impl Eq for VcpDescriptor
impl StructuralPartialEq for VcpDescriptor
Auto Trait Implementations§
impl Freeze for VcpDescriptor
impl RefUnwindSafe for VcpDescriptor
impl Send for VcpDescriptor
impl Sync for VcpDescriptor
impl Unpin for VcpDescriptor
impl UnwindSafe for VcpDescriptor
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