iced::advanced::text

Trait IntoFragment

Source
pub trait IntoFragment<'a> {
    // Required method
    fn into_fragment(self) -> Cow<'a, str>;
}
Available on crate feature advanced only.
Expand description

A trait for converting a value to some text Fragment.

Required Methods§

Source

fn into_fragment(self) -> Cow<'a, str>

Converts the value to some text Fragment.

Implementations on Foreign Types§

Source§

impl<'a> IntoFragment<'a> for &'a Cow<'_, str>

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &'a str

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &'a String

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &bool

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &char

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &f32

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &f64

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &i8

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &i16

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &i32

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &i64

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &i128

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &isize

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &u8

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &u16

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &u32

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &u64

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &u128

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for &usize

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for Cow<'a, str>

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for bool

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for char

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for f32

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for f64

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for i8

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for i16

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for i32

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for i64

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for i128

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for isize

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for u8

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for u16

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for u32

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for u64

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for u128

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for usize

Source§

fn into_fragment(self) -> Cow<'a, str>

Source§

impl<'a> IntoFragment<'a> for String

Source§

fn into_fragment(self) -> Cow<'a, str>

Implementors§