[][src]Struct zwnbsp::ZeroWidth

pub struct ZeroWidth(_);

Implementations

impl ZeroWidth[src]

pub fn new(string: &str) -> Result<Self, Error>[src]

Creates a new ZeroWidth instance given a string slice

pub fn get_binary_string(&self) -> String[src]

Retrieve the binary representation of the ASCII value provided

pub fn to_unicode(&self) -> String[src]

Creates the Unicode zero width character representation from the binary representation of the ASCII value

pub fn to_html(&self) -> String[src]

Creates the Unicode zero width character representation from the binary representation of the ASCII value

Trait Implementations

impl From<Binary> for ZeroWidth[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.