pub struct ModuleIdSend {
pub module_id: u8,
}Expand description
module_id_send() — module returns its current Module ID (Table 6).
Fields§
§module_id: u8The 6-bit Module ID (0 if the host has not allocated one). Only the low
6 bits are significant; the top 2 bits are reserved.
Trait Implementations§
Source§impl Clone for ModuleIdSend
impl Clone for ModuleIdSend
Source§fn clone(&self) -> ModuleIdSend
fn clone(&self) -> ModuleIdSend
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 ModuleIdSend
Source§impl Debug for ModuleIdSend
impl Debug for ModuleIdSend
Source§impl Default for ModuleIdSend
impl Default for ModuleIdSend
Source§fn default() -> ModuleIdSend
fn default() -> ModuleIdSend
Returns the “default value” for a type. Read more
impl Eq for ModuleIdSend
Source§impl<'a> Parse<'a> for ModuleIdSend
impl<'a> Parse<'a> for ModuleIdSend
Source§impl PartialEq for ModuleIdSend
impl PartialEq for ModuleIdSend
Source§impl Serialize for ModuleIdSend
impl Serialize for ModuleIdSend
Source§impl Serialize for ModuleIdSend
impl Serialize for ModuleIdSend
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for ModuleIdSend
Auto Trait Implementations§
impl Freeze for ModuleIdSend
impl RefUnwindSafe for ModuleIdSend
impl Send for ModuleIdSend
impl Sync for ModuleIdSend
impl Unpin for ModuleIdSend
impl UnsafeUnpin for ModuleIdSend
impl UnwindSafe for ModuleIdSend
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