pub struct HtmlDisplayable<'a, M, T: DomNode<M> + 'a>(pub &'a T, pub PhantomData<M>);Expand description
Wrapper struct to allow DomNodes to implement Display as html
Tuple Fields§
§0: &'a T§1: PhantomData<M>Trait Implementations§
Source§impl<'a, M: Clone, T: Clone + DomNode<M> + 'a> Clone for HtmlDisplayable<'a, M, T>
impl<'a, M: Clone, T: Clone + DomNode<M> + 'a> Clone for HtmlDisplayable<'a, M, T>
Source§fn clone(&self) -> HtmlDisplayable<'a, M, T>
fn clone(&self) -> HtmlDisplayable<'a, M, T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, M, T: DomNode<M>> Display for HtmlDisplayable<'a, M, T>
impl<'a, M, T: DomNode<M>> Display for HtmlDisplayable<'a, M, T>
Source§impl<'a, M: Ord, T: Ord + DomNode<M> + 'a> Ord for HtmlDisplayable<'a, M, T>
impl<'a, M: Ord, T: Ord + DomNode<M> + 'a> Ord for HtmlDisplayable<'a, M, T>
Source§fn cmp(&self, other: &HtmlDisplayable<'a, M, T>) -> Ordering
fn cmp(&self, other: &HtmlDisplayable<'a, M, T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a, M: PartialEq, T: PartialEq + DomNode<M> + 'a> PartialEq for HtmlDisplayable<'a, M, T>
impl<'a, M: PartialEq, T: PartialEq + DomNode<M> + 'a> PartialEq for HtmlDisplayable<'a, M, T>
Source§impl<'a, M: PartialOrd, T: PartialOrd + DomNode<M> + 'a> PartialOrd for HtmlDisplayable<'a, M, T>
impl<'a, M: PartialOrd, T: PartialOrd + DomNode<M> + 'a> PartialOrd for HtmlDisplayable<'a, M, T>
impl<'a, M: Copy, T: Copy + DomNode<M> + 'a> Copy for HtmlDisplayable<'a, M, T>
impl<'a, M: Eq, T: Eq + DomNode<M> + 'a> Eq for HtmlDisplayable<'a, M, T>
impl<'a, M, T: DomNode<M> + 'a> StructuralPartialEq for HtmlDisplayable<'a, M, T>
Auto Trait Implementations§
impl<'a, M, T> Freeze for HtmlDisplayable<'a, M, T>
impl<'a, M, T> RefUnwindSafe for HtmlDisplayable<'a, M, T>where
T: RefUnwindSafe,
M: RefUnwindSafe,
impl<'a, M, T> Send for HtmlDisplayable<'a, M, T>
impl<'a, M, T> Sync for HtmlDisplayable<'a, M, T>
impl<'a, M, T> Unpin for HtmlDisplayable<'a, M, T>where
M: Unpin,
impl<'a, M, T> UnwindSafe for HtmlDisplayable<'a, M, T>where
T: RefUnwindSafe,
M: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more