[][src]Struct rust_icu_utext::Text

pub struct Text { /* fields omitted */ }

Implementations

impl Text[src]

pub fn try_clone(&self, deep: bool, readonly: bool) -> Result<Self, Error>[src]

Tries to produce a clone of this Text.

If deep is set, a deep clone is made. This is not a Clone trait since this clone is parameterized, and may fail.

Implements utext_clone from ICU4C.

Trait Implementations

impl Debug for Text[src]

impl Drop for Text[src]

fn drop(&mut self)[src]

Implements utext_close from ICU4C.

impl Eq for Text[src]

impl PartialEq<Text> for Text[src]

impl<'_> TryFrom<&'_ str> for Text[src]

type Error = Error

The type returned in the event of a conversion error.

fn try_from(s: &str) -> Result<Self, Self::Error>[src]

Implements utext_open

impl TryFrom<String> for Text[src]

type Error = Error

The type returned in the event of a conversion error.

fn try_from(s: String) -> Result<Self, Self::Error>[src]

Produces a unicode Text from a rust String.

The conversion may fail if the string is not well formed, and may result in an error.

Implements utext_open from ICU4C.

Auto Trait Implementations

impl RefUnwindSafe for Text

impl !Send for Text

impl !Sync for Text

impl Unpin for Text

impl UnwindSafe for Text

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.