IntoFragment

Trait IntoFragment 

Source
pub trait IntoFragment<'a> {
    // Required method
    fn into_fragment(self) -> Fragment<'a>;
}
Expand description

Trait for types that can be converted into a Fragment

Required Methods§

Implementations on Foreign Types§

Source§

impl IntoFragment<'_> for Option<OwnedFragment>

Source§

fn into_fragment(self) -> Fragment<'static>

Source§

impl IntoFragment<'_> for String

Source§

fn into_fragment(self) -> Fragment<'static>

Source§

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

Source§

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

Implementors§

Source§

impl IntoFragment<'_> for OwnedFragment

Source§

impl IntoFragment<'static> for &OwnedFragment

Source§

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

Source§

impl<'a> IntoFragment<'a> for BorrowedFragment<'a>

Source§

impl<'a> IntoFragment<'a> for Fragment<'a>

Source§

impl<F> IntoFragment<'static> for F
where F: Fn() -> OwnedFragment,