Trait cosmic::iced_core::text::IntoFragment

source ·
pub trait IntoFragment<'a> {
    // Required method
    fn into_fragment(self) -> Cow<'a, str>;
}
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 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>

source§

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

source§

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

Implementors§