Struct rust_icu_unum::UFieldPositionType [−][src]
pub struct UFieldPositionType { pub field_type: i32, pub begin_index: i32, pub past_end_index: i32, }
Expand description
Returned by UFieldPositionIterator, represents the spans of each type of the formatting string.
Fields
field_type: i32
Expand description
The field type for the formatting.
begin_index: i32
Expand description
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
Expand description
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 Debug for UFieldPositionType
[src]impl PartialEq<UFieldPositionType> for UFieldPositionType
[src]
impl PartialEq<UFieldPositionType> for UFieldPositionType
[src]fn eq(&self, other: &UFieldPositionType) -> bool
[src]
fn eq(&self, other: &UFieldPositionType) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &UFieldPositionType) -> bool
[src]
fn ne(&self, other: &UFieldPositionType) -> bool
[src]This method tests for !=
.