pub struct StandardVariable {
pub name: &'static str,
pub instance: Option<&'static str>,
pub attribute: Option<&'static str>,
pub data_type: Option<&'static str>,
pub unit: Option<&'static str>,
}Expand description
One variable the appendix associates with a component.
Fields§
§name: &'static strThe variable name.
instance: Option<&'static str>The variable instance, written Name[Instance] in the appendix.
attribute: Option<&'static str>The attribute, written Name(Attribute) — MaxLimit, MinSet, …
data_type: Option<&'static str>The DataEnumType, where the appendix gives one.
unit: Option<&'static str>The unit, for the variables chapter 4 gives one for.
Trait Implementations§
Source§impl Clone for StandardVariable
impl Clone for StandardVariable
Source§fn clone(&self) -> StandardVariable
fn clone(&self) -> StandardVariable
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 moreimpl Copy for StandardVariable
Source§impl Debug for StandardVariable
impl Debug for StandardVariable
impl Eq for StandardVariable
Source§impl PartialEq for StandardVariable
impl PartialEq for StandardVariable
impl StructuralPartialEq for StandardVariable
Auto Trait Implementations§
impl Freeze for StandardVariable
impl RefUnwindSafe for StandardVariable
impl Send for StandardVariable
impl Sync for StandardVariable
impl Unpin for StandardVariable
impl UnsafeUnpin for StandardVariable
impl UnwindSafe for StandardVariable
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