Struct djio::param::Descriptor
source · pub struct Descriptor<'a> {
pub name: Name<'a>,
pub unit: Option<Unit<'a>>,
pub direction: Direction,
pub value: ValueDescriptor,
}Fields§
§name: Name<'a>Display name.
Mandatory, but could be left empty if no innate name is available.
unit: Option<Unit<'a>>Display unit.
Unit of the value.
direction: DirectionThe direction.
value: ValueDescriptorValue metadata.
Trait Implementations§
source§impl<'a> Clone for Descriptor<'a>
impl<'a> Clone for Descriptor<'a>
source§fn clone(&self) -> Descriptor<'a>
fn clone(&self) -> Descriptor<'a>
Returns a copy 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 Descriptor<'a>
impl<'a> Debug for Descriptor<'a>
source§impl<'a> PartialEq<Descriptor<'a>> for Descriptor<'a>
impl<'a> PartialEq<Descriptor<'a>> for Descriptor<'a>
source§fn eq(&self, other: &Descriptor<'a>) -> bool
fn eq(&self, other: &Descriptor<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> StructuralPartialEq for Descriptor<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Descriptor<'a>
impl<'a> Send for Descriptor<'a>
impl<'a> Sync for Descriptor<'a>
impl<'a> Unpin for Descriptor<'a>
impl<'a> UnwindSafe for Descriptor<'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