Struct icu_locid::extensions::transform::Value [−][src]
pub struct Value(_);
Implementations
impl Value
[src]
impl Value
[src]A value used in a list of Fields
.
The value has to be a sequence of one or more alphanumerical strings
separated by -
.
Each part of the sequence has to be no shorter than three characters and no
longer than 8.
Examples
use icu::locid::extensions::transform::Value; let value1: Value = "hybrid".parse() .expect("Failed to parse a Value."); let value2: Value = "hybrid-foobar".parse() .expect("Failed to parse a Value."); assert_eq!(&value1.to_string(), "hybrid"); assert_eq!(&value2.to_string(), "hybrid-foobar");
pub fn from_bytes(input: &[u8]) -> Result<Self, ParserError>
[src]
Trait Implementations
impl PartialOrd<Value> for Value
[src]
impl PartialOrd<Value> for Value
[src]impl StructuralEq for Value
[src]
impl StructuralEq for Value
[src]impl StructuralPartialEq for Value
[src]
impl StructuralPartialEq for Value
[src]Auto Trait Implementations
impl RefUnwindSafe for Value
impl RefUnwindSafe for Value
impl UnwindSafe for Value
impl UnwindSafe for Value