pub struct HostEntity(/* private fields */);Implementations§
Source§impl HostEntity
impl HostEntity
pub fn new(id: u16) -> Self
pub fn value(&self) -> u16
pub fn to_remote(self) -> RemoteEntity
pub fn ser(&self, writer: &mut dyn BitWrite)
pub fn bit_length(&self) -> u32
pub fn copy_to_owned(&self) -> OwnedLocalEntity
Trait Implementations§
Source§impl Clone for HostEntity
impl Clone for HostEntity
Source§fn clone(&self) -> HostEntity
fn clone(&self) -> HostEntity
Returns a duplicate of the value. Read more
1.0.0 · 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 HostEntity
impl Debug for HostEntity
Source§impl Hash for HostEntity
impl Hash for HostEntity
Source§impl PartialEq for HostEntity
impl PartialEq for HostEntity
impl Copy for HostEntity
impl Eq for HostEntity
impl StructuralPartialEq for HostEntity
Auto Trait Implementations§
impl Freeze for HostEntity
impl RefUnwindSafe for HostEntity
impl Send for HostEntity
impl Sync for HostEntity
impl Unpin for HostEntity
impl UnwindSafe for HostEntity
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