pub struct ByteSet { /* private fields */ }Expand description
A set of bytes (256 bits).
Implementations§
Source§impl ByteSet
impl ByteSet
Sourcepub fn from_range(start: u8, end: u8) -> Self
pub fn from_range(start: u8, end: u8) -> Self
Creates a byte set from a range of bytes (inclusive).
Sourcepub fn complement(&self) -> ByteSet
pub fn complement(&self) -> ByteSet
Computes the complement of the byte set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ByteSet
impl RefUnwindSafe for ByteSet
impl Send for ByteSet
impl Sync for ByteSet
impl Unpin for ByteSet
impl UnwindSafe for ByteSet
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