[−][src]Struct ritz::Fragment
Fields
children: Vec<HtmlContent<'a>>
Methods
impl<'a> Fragment<'a>
[src]
pub fn new<T>(iter: T) -> Fragment<'a> where
T: IntoIterator,
T::Item: Into<HtmlContent<'a>>,
[src]
T: IntoIterator,
T::Item: Into<HtmlContent<'a>>,
pub fn add_child<T: Into<HtmlContent<'a>>>(&mut self, child: T)
[src]
Trait Implementations
impl<'a> From<Fragment<'a>> for HtmlContent<'a>
[src]
fn from(tag: Fragment<'a>) -> HtmlContent<'a>
[src]
impl<'a> IntoIterator for Fragment<'a>
[src]
type Item = HtmlContent<'a>
The type of the elements being iterated over.
type IntoIter = IntoIter<Self::Item>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a> PartialEq<Fragment<'a>> for Fragment<'a>
[src]
impl<'a> Display for Fragment<'a>
[src]
impl<'a> Debug for Fragment<'a>
[src]
impl<'a> FromIterator<HtmlContent<'a>> for Fragment<'a>
[src]
fn from_iter<I: IntoIterator<Item = HtmlContent<'a>>>(iter: I) -> Fragment<'a>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,