[][src]Struct rust_icu_unum::UFieldPositionType

pub struct UFieldPositionType {
    pub field_type: i32,
    pub begin_index: i32,
    pub past_end_index: i32,
}

Returned by UFieldPositionIterator, represents the spans of each type of the formatting string.

Fields

field_type: i32

The field type for the formatting.

begin_index: i32

The index in the buffer at which the range of interest begins. For example, in a string "42 RSD", the beginning of "42" would be at index 0.

past_end_index: i32

The index one past the end of the buffer at which the range of interest ends. For example, in a string "42 RSD", the end of "42" would be at index 2.

Trait Implementations

impl Debug for UFieldPositionType[src]

impl PartialEq<UFieldPositionType> for UFieldPositionType[src]

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