iced::advanced::text

Trait IntoFragment

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§

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

Converts the value to some text Fragment.

Implementations on Foreign Types§

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

§

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

Implementors§