pub struct HexSubPattern(pub Vec<HexToken>);
Expand description
A sequence of tokens that conform a hex pattern (a.k.a. hex string).
Tuple Fields§
§0: Vec<HexToken>
Implementations§
Trait Implementations§
Source§impl Debug for HexSubPattern
impl Debug for HexSubPattern
Source§impl Default for HexSubPattern
impl Default for HexSubPattern
Source§fn default() -> HexSubPattern
fn default() -> HexSubPattern
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HexSubPattern
impl RefUnwindSafe for HexSubPattern
impl Send for HexSubPattern
impl Sync for HexSubPattern
impl Unpin for HexSubPattern
impl UnwindSafe for HexSubPattern
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more