Struct rand_regex::EncodedString
source · pub struct EncodedString(_);
Expand description
A string together with its Encoding
.
Implementations§
source§impl EncodedString
impl EncodedString
Trait Implementations§
source§impl Debug for EncodedString
impl Debug for EncodedString
source§impl Distribution<EncodedString> for Regex
impl Distribution<EncodedString> for Regex
source§fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> EncodedString
fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> EncodedString
Generate a random value of
T
, using rng
as the source of randomness.source§impl From<EncodedString> for Vec<u8>
impl From<EncodedString> for Vec<u8>
source§fn from(es: EncodedString) -> Self
fn from(es: EncodedString) -> Self
Converts to this type from the input type.
source§impl From<String> for EncodedString
impl From<String> for EncodedString
source§impl Hash for EncodedString
impl Hash for EncodedString
source§impl Ord for EncodedString
impl Ord for EncodedString
source§impl PartialEq<EncodedString> for EncodedString
impl PartialEq<EncodedString> for EncodedString
source§impl PartialOrd<EncodedString> for EncodedString
impl PartialOrd<EncodedString> for EncodedString
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<EncodedString> for String
impl TryFrom<EncodedString> for String
§type Error = FromUtf8Error
type Error = FromUtf8Error
The type returned in the event of a conversion error.
impl Eq for EncodedString
Auto Trait Implementations§
impl RefUnwindSafe for EncodedString
impl Send for EncodedString
impl Sync for EncodedString
impl Unpin for EncodedString
impl UnwindSafe for EncodedString
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