pub struct RuleCollectionProvider<'a, PP, NP, NC>{ /* 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>
impl<PP, NP, NC> DataProvider<CaseMapV1> for RuleCollectionProvider<'_, PP, NP, NC>
Source§fn load(
&self,
req: DataRequest<'_>,
) -> Result<DataResponse<CaseMapV1>, DataError>
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>
impl<PP, NP, NC> DataProvider<NormalizerNfcV1> for RuleCollectionProvider<'_, PP, NP, NC>
Source§fn load(
&self,
req: DataRequest<'_>,
) -> Result<DataResponse<NormalizerNfcV1>, DataError>
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>
impl<PP, NP, NC> DataProvider<NormalizerNfdDataV1> for RuleCollectionProvider<'_, PP, NP, NC>
Source§fn load(
&self,
req: DataRequest<'_>,
) -> Result<DataResponse<NormalizerNfdDataV1>, DataError>
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>
impl<PP, NP, NC> DataProvider<NormalizerNfdTablesV1> for RuleCollectionProvider<'_, PP, NP, NC>
Source§fn load(
&self,
req: DataRequest<'_>,
) -> Result<DataResponse<NormalizerNfdTablesV1>, DataError>
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>
impl<PP, NP, NC> DataProvider<NormalizerNfkdDataV1> for RuleCollectionProvider<'_, PP, NP, NC>
Source§fn load(
&self,
req: DataRequest<'_>,
) -> Result<DataResponse<NormalizerNfkdDataV1>, DataError>
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>
impl<PP, NP, NC> DataProvider<NormalizerNfkdTablesV1> for RuleCollectionProvider<'_, PP, NP, NC>
Source§fn load(
&self,
req: DataRequest<'_>,
) -> Result<DataResponse<NormalizerNfkdTablesV1>, DataError>
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,
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>
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>
impl<'a, PP, NP, NC> Debug for RuleCollectionProvider<'a, PP, NP, NC>
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,
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,
Source§fn iter_ids(&self) -> Result<BTreeSet<DataIdentifierCow<'_>>, DataError>
fn iter_ids(&self) -> Result<BTreeSet<DataIdentifierCow<'_>>, DataError>
Returns a set of
DataIdentifierCow
.Auto Trait Implementations§
impl<'a, PP, NP, NC> Freeze for RuleCollectionProvider<'a, PP, NP, NC>
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>
impl<'a, PP, NP, NC> !UnwindSafe for RuleCollectionProvider<'a, PP, NP, NC>
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