Struct uavcan::node::NodeConfig [−][src]
Configuration for an Node
Examples
use uavcan::NodeConfig; use uavcan::NodeID; let mut node_config = NodeConfig::default(); node_config.id = Some(NodeID::new(127));
Fields
id: Option<NodeID>
An optional Uavcan NodeId
Nodes with id = None
is, in Uavcan terms, an anonymous Node.
Trait Implementations
impl Clone for NodeConfig
[src]
impl Clone for NodeConfig
fn clone(&self) -> NodeConfig
[src]
fn clone(&self) -> NodeConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for NodeConfig
[src]
impl Debug for NodeConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for NodeConfig
[src]
impl Eq for NodeConfig
impl PartialEq for NodeConfig
[src]
impl PartialEq for NodeConfig
fn eq(&self, other: &NodeConfig) -> bool
[src]
fn eq(&self, other: &NodeConfig) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NodeConfig) -> bool
[src]
fn ne(&self, other: &NodeConfig) -> bool
This method tests for !=
.
impl Default for NodeConfig
[src]
impl Default for NodeConfig
Auto Trait Implementations
impl Send for NodeConfig
impl Send for NodeConfig
impl Sync for NodeConfig
impl Sync for NodeConfig