pub struct ZeroWidth(/* private fields */);
Implementations§
Source§impl ZeroWidth
impl ZeroWidth
Sourcepub fn new(string: &str) -> Result<Self, Error>
pub fn new(string: &str) -> Result<Self, Error>
Creates a new ZeroWidth
instance given a string slice
Sourcepub fn get_binary_string(&self) -> String
pub fn get_binary_string(&self) -> String
Retrieve the binary representation of the ASCII value provided
Sourcepub fn to_unicode(&self) -> String
pub fn to_unicode(&self) -> String
Creates the Unicode zero width character representation from the binary representation of the ASCII value
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ZeroWidth
impl RefUnwindSafe for ZeroWidth
impl Send for ZeroWidth
impl Sync for ZeroWidth
impl Unpin for ZeroWidth
impl UnwindSafe for ZeroWidth
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