Struct idna::Idna [−][src]
pub struct Idna { /* fields omitted */ }
Implementations
impl Idna
[src]
impl Idna
[src]pub fn new(config: Config) -> Self
[src]
pub fn to_ascii<'a>(
&'a mut self,
domain: &str,
out: &mut String
) -> Result<(), Errors>
[src]
&'a mut self,
domain: &str,
out: &mut String
) -> Result<(), Errors>
http://www.unicode.org/reports/tr46/#ToASCII
pub fn to_unicode<'a>(
&'a mut self,
domain: &str,
out: &mut String
) -> Result<(), Errors>
[src]
&'a mut self,
domain: &str,
out: &mut String
) -> Result<(), Errors>
http://www.unicode.org/reports/tr46/#ToUnicode