Struct icu_provider_cldr::CldrPathsAllInOne[][src]

pub struct CldrPathsAllInOne {
    pub cldr_json_root: PathBuf,
    pub suffix: &'static str,
}

An implementation of CldrPaths for one combined local CLDR JSON directory.

Examples

use icu_provider_cldr::CldrPathsAllInOne;
use icu_provider_cldr::CldrJsonDataProvider;
use std::path::PathBuf;

let paths = CldrPathsAllInOne {
    cldr_json_root: PathBuf::from("/path/to/cldr-json"),
    suffix: "full",
};

let data_provider = CldrJsonDataProvider::new(&paths);

Fields

cldr_json_root: PathBuf

Path to the CLDR JSON root directory

suffix: &'static str

CLDR JSON directory suffix: probably either “modern” or “full”

Trait Implementations

impl CldrPaths for CldrPathsAllInOne[src]

impl Debug for CldrPathsAllInOne[src]

impl PartialEq<CldrPathsAllInOne> for CldrPathsAllInOne[src]

impl StructuralPartialEq for CldrPathsAllInOne[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.