[−][src]Enum patternscan::PatternByte
Represents a single byte in a search pattern.
Variants
Byte(u8)
Trait Implementations
impl Eq for PatternByte
[src]
impl FromStr for PatternByte
[src]
type Err = Error
The associated error which can be returned from parsing.
pub fn from_str(s: &str) -> Result<Self, Error>
[src]
Create an instance of PatternByte
from a string.
This string should either be a hexadecimal byte, or a "?". Will return an error if the string is not a "?", or it cannot be converted into an 8-bit integer when interpreted as hexadecimal.
impl PartialEq<PatternByte> for PatternByte
[src]
pub fn eq(&self, other: &PatternByte) -> bool
[src]
pub fn ne(&self, other: &PatternByte) -> bool
[src]
impl PartialEq<u8> for PatternByte
[src]
impl StructuralEq for PatternByte
[src]
impl StructuralPartialEq for PatternByte
[src]
Auto Trait Implementations
impl RefUnwindSafe for PatternByte
[src]
impl Send for PatternByte
[src]
impl Sync for PatternByte
[src]
impl Unpin for PatternByte
[src]
impl UnwindSafe for PatternByte
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,