icu::experimental::transliterate

Struct RuleCollectionProvider

Source
pub struct RuleCollectionProvider<'a, PP, NP, NC>
where PP: ?Sized, NP: ?Sized, NC: ?Sized,
{ /* private fields */ }
Expand description

A provider that is usable by Transliterator::try_new_unstable.

Trait Implementations§

Source§

impl<PP, NP, NC> DataProvider<CaseMapV1> for RuleCollectionProvider<'_, PP, NP, NC>
where NC: DataProvider<CaseMapV1> + ?Sized, PP: ?Sized, NP: ?Sized,

Source§

fn load( &self, req: DataRequest<'_>, ) -> Result<DataResponse<CaseMapV1>, DataError>

Query the provider for data, returning the result. Read more
Source§

impl<PP, NP, NC> DataProvider<NormalizerNfcV1> for RuleCollectionProvider<'_, PP, NP, NC>
where NP: DataProvider<NormalizerNfcV1> + ?Sized, PP: ?Sized, NC: ?Sized,

Source§

fn load( &self, req: DataRequest<'_>, ) -> Result<DataResponse<NormalizerNfcV1>, DataError>

Query the provider for data, returning the result. Read more
Source§

impl<PP, NP, NC> DataProvider<NormalizerNfdDataV1> for RuleCollectionProvider<'_, PP, NP, NC>
where NP: DataProvider<NormalizerNfdDataV1> + ?Sized, PP: ?Sized, NC: ?Sized,

Source§

fn load( &self, req: DataRequest<'_>, ) -> Result<DataResponse<NormalizerNfdDataV1>, DataError>

Query the provider for data, returning the result. Read more
Source§

impl<PP, NP, NC> DataProvider<NormalizerNfdTablesV1> for RuleCollectionProvider<'_, PP, NP, NC>

Source§

fn load( &self, req: DataRequest<'_>, ) -> Result<DataResponse<NormalizerNfdTablesV1>, DataError>

Query the provider for data, returning the result. Read more
Source§

impl<PP, NP, NC> DataProvider<NormalizerNfkdDataV1> for RuleCollectionProvider<'_, PP, NP, NC>

Source§

fn load( &self, req: DataRequest<'_>, ) -> Result<DataResponse<NormalizerNfkdDataV1>, DataError>

Query the provider for data, returning the result. Read more
Source§

impl<PP, NP, NC> DataProvider<NormalizerNfkdTablesV1> for RuleCollectionProvider<'_, PP, NP, NC>

Source§

fn load( &self, req: DataRequest<'_>, ) -> Result<DataResponse<NormalizerNfkdTablesV1>, DataError>

Query the provider for data, returning the result. Read more
Source§

impl<PP, NP, NC> DataProvider<TransliteratorRulesV1> for RuleCollectionProvider<'_, PP, NP, NC>
where PP: DataProvider<PropertyBinaryAlphabeticV1> + DataProvider<PropertyBinaryAsciiHexDigitV1> + DataProvider<PropertyBinaryBidiControlV1> + DataProvider<PropertyBinaryBidiMirroredV1> + DataProvider<PropertyBinaryCasedV1> + DataProvider<PropertyBinaryCaseIgnorableV1> + DataProvider<PropertyBinaryChangesWhenCasefoldedV1> + DataProvider<PropertyBinaryChangesWhenCasemappedV1> + DataProvider<PropertyBinaryChangesWhenLowercasedV1> + DataProvider<PropertyBinaryChangesWhenNfkcCasefoldedV1> + DataProvider<PropertyBinaryChangesWhenTitlecasedV1> + DataProvider<PropertyBinaryChangesWhenUppercasedV1> + DataProvider<PropertyBinaryDashV1> + DataProvider<PropertyBinaryDefaultIgnorableCodePointV1> + DataProvider<PropertyBinaryDeprecatedV1> + DataProvider<PropertyBinaryDiacriticV1> + DataProvider<PropertyBinaryEmojiComponentV1> + DataProvider<PropertyBinaryEmojiModifierBaseV1> + DataProvider<PropertyBinaryEmojiModifierV1> + DataProvider<PropertyBinaryEmojiPresentationV1> + DataProvider<PropertyBinaryEmojiV1> + DataProvider<PropertyBinaryExtendedPictographicV1> + DataProvider<PropertyBinaryExtenderV1> + DataProvider<PropertyBinaryGraphemeBaseV1> + DataProvider<PropertyBinaryGraphemeExtendV1> + DataProvider<PropertyBinaryHexDigitV1> + DataProvider<PropertyBinaryIdContinueV1> + DataProvider<PropertyBinaryIdeographicV1> + DataProvider<PropertyBinaryIdsBinaryOperatorV1> + DataProvider<PropertyBinaryIdStartV1> + DataProvider<PropertyBinaryIdsTrinaryOperatorV1> + DataProvider<PropertyBinaryJoinControlV1> + DataProvider<PropertyBinaryLogicalOrderExceptionV1> + DataProvider<PropertyBinaryLowercaseV1> + DataProvider<PropertyBinaryMathV1> + DataProvider<PropertyBinaryNoncharacterCodePointV1> + DataProvider<PropertyBinaryPatternSyntaxV1> + DataProvider<PropertyBinaryPatternWhiteSpaceV1> + DataProvider<PropertyBinaryQuotationMarkV1> + DataProvider<PropertyBinaryRadicalV1> + DataProvider<PropertyBinaryRegionalIndicatorV1> + DataProvider<PropertyBinarySentenceTerminalV1> + DataProvider<PropertyBinarySoftDottedV1> + DataProvider<PropertyBinaryTerminalPunctuationV1> + DataProvider<PropertyBinaryUnifiedIdeographV1> + DataProvider<PropertyBinaryUppercaseV1> + DataProvider<PropertyBinaryVariationSelectorV1> + DataProvider<PropertyBinaryWhiteSpaceV1> + DataProvider<PropertyBinaryXidContinueV1> + DataProvider<PropertyBinaryXidStartV1> + DataProvider<PropertyEnumCanonicalCombiningClassV1> + DataProvider<PropertyEnumGeneralCategoryV1> + DataProvider<PropertyEnumGraphemeClusterBreakV1> + DataProvider<PropertyEnumScriptV1> + DataProvider<PropertyEnumSentenceBreakV1> + DataProvider<PropertyEnumWordBreakV1> + DataProvider<PropertyNameParseCanonicalCombiningClassV1> + DataProvider<PropertyNameParseGeneralCategoryMaskV1> + DataProvider<PropertyNameParseGraphemeClusterBreakV1> + DataProvider<PropertyNameParseScriptV1> + DataProvider<PropertyNameParseSentenceBreakV1> + DataProvider<PropertyNameParseWordBreakV1> + DataProvider<PropertyScriptWithExtensionsV1> + ?Sized, NP: ?Sized, NC: ?Sized,

Source§

fn load( &self, req: DataRequest<'_>, ) -> Result<DataResponse<TransliteratorRulesV1>, DataError>

Query the provider for data, returning the result. Read more
Source§

impl<'a, PP, NP, NC> Debug for RuleCollectionProvider<'a, PP, NP, NC>
where PP: Debug + ?Sized, NP: Debug + ?Sized, NC: Debug + ?Sized,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<PP, NP, NC> IterableDataProvider<TransliteratorRulesV1> for RuleCollectionProvider<'_, PP, NP, NC>
where PP: DataProvider<PropertyBinaryAlphabeticV1> + DataProvider<PropertyBinaryAsciiHexDigitV1> + DataProvider<PropertyBinaryBidiControlV1> + DataProvider<PropertyBinaryBidiMirroredV1> + DataProvider<PropertyBinaryCasedV1> + DataProvider<PropertyBinaryCaseIgnorableV1> + DataProvider<PropertyBinaryChangesWhenCasefoldedV1> + DataProvider<PropertyBinaryChangesWhenCasemappedV1> + DataProvider<PropertyBinaryChangesWhenLowercasedV1> + DataProvider<PropertyBinaryChangesWhenNfkcCasefoldedV1> + DataProvider<PropertyBinaryChangesWhenTitlecasedV1> + DataProvider<PropertyBinaryChangesWhenUppercasedV1> + DataProvider<PropertyBinaryDashV1> + DataProvider<PropertyBinaryDefaultIgnorableCodePointV1> + DataProvider<PropertyBinaryDeprecatedV1> + DataProvider<PropertyBinaryDiacriticV1> + DataProvider<PropertyBinaryEmojiComponentV1> + DataProvider<PropertyBinaryEmojiModifierBaseV1> + DataProvider<PropertyBinaryEmojiModifierV1> + DataProvider<PropertyBinaryEmojiPresentationV1> + DataProvider<PropertyBinaryEmojiV1> + DataProvider<PropertyBinaryExtendedPictographicV1> + DataProvider<PropertyBinaryExtenderV1> + DataProvider<PropertyBinaryGraphemeBaseV1> + DataProvider<PropertyBinaryGraphemeExtendV1> + DataProvider<PropertyBinaryHexDigitV1> + DataProvider<PropertyBinaryIdContinueV1> + DataProvider<PropertyBinaryIdeographicV1> + DataProvider<PropertyBinaryIdsBinaryOperatorV1> + DataProvider<PropertyBinaryIdStartV1> + DataProvider<PropertyBinaryIdsTrinaryOperatorV1> + DataProvider<PropertyBinaryJoinControlV1> + DataProvider<PropertyBinaryLogicalOrderExceptionV1> + DataProvider<PropertyBinaryLowercaseV1> + DataProvider<PropertyBinaryMathV1> + DataProvider<PropertyBinaryNoncharacterCodePointV1> + DataProvider<PropertyBinaryPatternSyntaxV1> + DataProvider<PropertyBinaryPatternWhiteSpaceV1> + DataProvider<PropertyBinaryQuotationMarkV1> + DataProvider<PropertyBinaryRadicalV1> + DataProvider<PropertyBinaryRegionalIndicatorV1> + DataProvider<PropertyBinarySentenceTerminalV1> + DataProvider<PropertyBinarySoftDottedV1> + DataProvider<PropertyBinaryTerminalPunctuationV1> + DataProvider<PropertyBinaryUnifiedIdeographV1> + DataProvider<PropertyBinaryUppercaseV1> + DataProvider<PropertyBinaryVariationSelectorV1> + DataProvider<PropertyBinaryWhiteSpaceV1> + DataProvider<PropertyBinaryXidContinueV1> + DataProvider<PropertyBinaryXidStartV1> + DataProvider<PropertyEnumCanonicalCombiningClassV1> + DataProvider<PropertyEnumGeneralCategoryV1> + DataProvider<PropertyEnumGraphemeClusterBreakV1> + DataProvider<PropertyEnumScriptV1> + DataProvider<PropertyEnumSentenceBreakV1> + DataProvider<PropertyEnumWordBreakV1> + DataProvider<PropertyNameParseCanonicalCombiningClassV1> + DataProvider<PropertyNameParseGeneralCategoryMaskV1> + DataProvider<PropertyNameParseGraphemeClusterBreakV1> + DataProvider<PropertyNameParseScriptV1> + DataProvider<PropertyNameParseSentenceBreakV1> + DataProvider<PropertyNameParseWordBreakV1> + DataProvider<PropertyScriptWithExtensionsV1> + ?Sized, NP: ?Sized, NC: ?Sized,

Auto Trait Implementations§

§

impl<'a, PP, NP, NC> Freeze for RuleCollectionProvider<'a, PP, NP, NC>
where PP: ?Sized, NP: ?Sized, NC: ?Sized,

§

impl<'a, PP, NP, NC> !RefUnwindSafe for RuleCollectionProvider<'a, PP, NP, NC>

§

impl<'a, PP, NP, NC> !Send for RuleCollectionProvider<'a, PP, NP, NC>

§

impl<'a, PP, NP, NC> !Sync for RuleCollectionProvider<'a, PP, NP, NC>

§

impl<'a, PP, NP, NC> Unpin for RuleCollectionProvider<'a, PP, NP, NC>
where PP: ?Sized, NP: ?Sized, NC: ?Sized,

§

impl<'a, PP, NP, NC> !UnwindSafe for RuleCollectionProvider<'a, PP, NP, NC>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> ErasedDestructor for T
where T: 'static,