pub struct PatternWord {
pub length: usize,
pub buffer: [u8; 16],
}
Expand description
Represents a variable-length word stored in a fixed-size, 16-byte buffer.
The data within the buffer is not guaranteed to be null-terminated.
Fields§
§length: usize
§buffer: [u8; 16]
Implementations§
Source§impl PatternWord
impl PatternWord
Trait Implementations§
Source§impl AsRef<str> for PatternWord
impl AsRef<str> for PatternWord
Source§impl Debug for PatternWord
impl Debug for PatternWord
Auto Trait Implementations§
impl Freeze for PatternWord
impl RefUnwindSafe for PatternWord
impl Send for PatternWord
impl Sync for PatternWord
impl Unpin for PatternWord
impl UnwindSafe for PatternWord
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