pub enum HostLinkValue {
U16(u16),
I16(i16),
U32(u32),
I32(i32),
F32(f32),
Bool(bool),
Text(String),
}Variants§
Trait Implementations§
Source§impl Clone for HostLinkValue
impl Clone for HostLinkValue
Source§fn clone(&self) -> HostLinkValue
fn clone(&self) -> HostLinkValue
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 moreSource§impl Debug for HostLinkValue
impl Debug for HostLinkValue
Source§impl From<HostLinkValue> for u16
impl From<HostLinkValue> for u16
Source§fn from(value: HostLinkValue) -> Self
fn from(value: HostLinkValue) -> Self
Converts to this type from the input type.
Source§impl HostLinkPayloadValue for HostLinkValue
impl HostLinkPayloadValue for HostLinkValue
fn format_for_suffix(&self, data_format: &str) -> String
fn append_to_payload(&self, data_format: &str, output: &mut String)
Source§impl PartialEq for HostLinkValue
impl PartialEq for HostLinkValue
Source§fn eq(&self, other: &HostLinkValue) -> bool
fn eq(&self, other: &HostLinkValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HostLinkValue
Auto Trait Implementations§
impl Freeze for HostLinkValue
impl RefUnwindSafe for HostLinkValue
impl Send for HostLinkValue
impl Sync for HostLinkValue
impl Unpin for HostLinkValue
impl UnsafeUnpin for HostLinkValue
impl UnwindSafe for HostLinkValue
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