Struct
ConnectionStatus
#[repr(C)]pub struct ConnectionStatus {
pub bt_connected: bool,
pub ql_paired: bool,
pub live: bool,
}Fields
bt_connected: boolql_paired: boollive: boolTrait Implementations
impl AsScalar<1> for ConnectionStatus
impl AsScalar<1> for ConnectionStatus
fn as_scalar(&self) -> [u32; 1]
impl Clone for ConnectionStatus
impl Clone for ConnectionStatus
fn clone(&self) -> ConnectionStatus
fn clone(&self) -> ConnectionStatus
Returns a duplicate of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Debug for ConnectionStatus
impl Debug for ConnectionStatus
impl FromScalar<1> for ConnectionStatus
impl FromScalar<1> for ConnectionStatus
fn from_scalar([value]: [u32; 1]) -> Self
impl PartialEq for ConnectionStatus
impl PartialEq for ConnectionStatus
fn eq(&self, other: &ConnectionStatus) -> bool
fn eq(&self, other: &ConnectionStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.1.0.0fn ne(&self, other: &Rhs) -> bool
fn ne(&self, other: &Rhs) -> bool
Tests for
!=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.