pub struct WExtension8(pub [u8; 8]);Expand description
WExtension8_t — 8-byte vendor-spezifischer Extension-Slot.
Spec §8.3.2: opaker 64-bit-Wert (analog UExtension4_t fuer
Felder die 8 Byte brauchen, z.B. fuer 64-bit-Counter).
Tuple Fields§
§0: [u8; 8]Implementations§
Source§impl WExtension8
impl WExtension8
Sourcepub fn from_u64_be(v: u64) -> Self
pub fn from_u64_be(v: u64) -> Self
Konstruktor aus u64 (Big-Endian).
Sourcepub fn from_bytes(bytes: [u8; 8]) -> Self
pub fn from_bytes(bytes: [u8; 8]) -> Self
Roundtrip-Identitaet.
Trait Implementations§
Source§impl Clone for WExtension8
impl Clone for WExtension8
Source§fn clone(&self) -> WExtension8
fn clone(&self) -> WExtension8
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 moreSource§impl Debug for WExtension8
impl Debug for WExtension8
Source§impl Default for WExtension8
impl Default for WExtension8
Source§fn default() -> WExtension8
fn default() -> WExtension8
Returns the “default value” for a type. Read more
Source§impl Hash for WExtension8
impl Hash for WExtension8
Source§impl PartialEq for WExtension8
impl PartialEq for WExtension8
Source§fn eq(&self, other: &WExtension8) -> bool
fn eq(&self, other: &WExtension8) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for WExtension8
impl Eq for WExtension8
impl StructuralPartialEq for WExtension8
Auto Trait Implementations§
impl Freeze for WExtension8
impl RefUnwindSafe for WExtension8
impl Send for WExtension8
impl Sync for WExtension8
impl Unpin for WExtension8
impl UnsafeUnpin for WExtension8
impl UnwindSafe for WExtension8
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