Enum yrs::OffsetKind [−][src]
pub enum OffsetKind {
Bytes,
Utf16,
Utf32,
}
Expand description
Determines how string length and offsets of [Text]/[XmlText] are being determined.
Variants
Bytes
Compute editable strings length and offset using UTF-8 byte count.
Utf16
Compute editable strings length and offset using UTF-16 chars count.
Utf32
Compute editable strings length and offset using Unicode code points number.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OffsetKind
impl Send for OffsetKind
impl Sync for OffsetKind
impl Unpin for OffsetKind
impl UnwindSafe for OffsetKind
Blanket Implementations
Mutably borrows from an owned value. Read more