Struct canadensis_serial::SerialNodeId
source · [−]pub struct SerialNodeId(_);
Expand description
A serial node identifier, which allows the values 0..=65534
65535 is reserved as a broadcast address
Trait Implementations
sourceimpl Clone for SerialNodeId
impl Clone for SerialNodeId
sourcefn clone(&self) -> SerialNodeId
fn clone(&self) -> SerialNodeId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SerialNodeId
impl Debug for SerialNodeId
sourceimpl Default for SerialNodeId
impl Default for SerialNodeId
sourcefn default() -> SerialNodeId
fn default() -> SerialNodeId
Returns the “default value” for a type. Read more
sourceimpl From<SerialNodeId> for u16
impl From<SerialNodeId> for u16
sourcefn from(id: SerialNodeId) -> Self
fn from(id: SerialNodeId) -> Self
Converts to this type from the input type.
sourceimpl From<SerialNodeId> for usize
impl From<SerialNodeId> for usize
sourcefn from(id: SerialNodeId) -> Self
fn from(id: SerialNodeId) -> Self
Converts to this type from the input type.
sourceimpl Hash for SerialNodeId
impl Hash for SerialNodeId
sourceimpl Hash for SerialNodeId
impl Hash for SerialNodeId
sourceimpl PartialEq<SerialNodeId> for SerialNodeId
impl PartialEq<SerialNodeId> for SerialNodeId
sourcefn eq(&self, other: &SerialNodeId) -> bool
fn eq(&self, other: &SerialNodeId) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SerialNodeId) -> bool
fn ne(&self, other: &SerialNodeId) -> bool
This method tests for !=
.
sourceimpl TryFrom<u16> for SerialNodeId
impl TryFrom<u16> for SerialNodeId
impl Copy for SerialNodeId
impl Eq for SerialNodeId
impl StructuralEq for SerialNodeId
impl StructuralPartialEq for SerialNodeId
Auto Trait Implementations
impl RefUnwindSafe for SerialNodeId
impl Send for SerialNodeId
impl Sync for SerialNodeId
impl Unpin for SerialNodeId
impl UnwindSafe for SerialNodeId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more