pub struct Uts46Mapper { /* private fields */ }Expand description
A mapper that knows how to performs the subsets of UTS 46 processing documented on the methods.
Implementations§
Source§impl Uts46Mapper
 
impl Uts46Mapper
Sourcepub fn as_borrowed(&self) -> Uts46MapperBorrowed<'_>
 
pub fn as_borrowed(&self) -> Uts46MapperBorrowed<'_>
Constructs a borrowed version of this type for more efficient querying.
Sourcepub const fn new() -> Uts46MapperBorrowed<'static>
 
pub const fn new() -> Uts46MapperBorrowed<'static>
Construct with compiled data.
Sourcepub fn try_new<D>(provider: &D) -> Result<Uts46Mapper, DataError>
 
pub fn try_new<D>(provider: &D) -> Result<Uts46Mapper, DataError>
Construct with provider.
A version of Self::new that uses custom data provided by a DataProvider.
⚠️ The bounds on provider may change over time, including in SemVer minor releases.
Trait Implementations§
Source§impl Debug for Uts46Mapper
 
impl Debug for Uts46Mapper
Source§impl Default for Uts46Mapper
 
impl Default for Uts46Mapper
Source§fn default() -> Uts46Mapper
 
fn default() -> Uts46Mapper
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Uts46Mapper
impl RefUnwindSafe for Uts46Mapper
impl !Send for Uts46Mapper
impl !Sync for Uts46Mapper
impl Unpin for Uts46Mapper
impl UnwindSafe for Uts46Mapper
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
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more