Struct write_html::Sum
source · pub struct Sum<A, B>(pub A, pub B);
Expand description
Represents a sum of two types.
Tuple Fields§
§0: A
§1: B
Trait Implementations§
source§impl<A: Attributes, B: Attributes> Attributes for Sum<A, B>
impl<A: Attributes, B: Attributes> Attributes for Sum<A, B>
source§fn write_attributes<'a, 't, W: Write>(
self,
w: &mut TagOpening<'a, 't, W>
) -> Result
fn write_attributes<'a, 't, W: Write>( self, w: &mut TagOpening<'a, 't, W> ) -> Result
Writes the attributes to
w
. Read moreAuto Trait Implementations§
impl<A, B> RefUnwindSafe for Sum<A, B>where A: RefUnwindSafe, B: RefUnwindSafe,
impl<A, B> Send for Sum<A, B>where A: Send, B: Send,
impl<A, B> Sync for Sum<A, B>where A: Sync, B: Sync,
impl<A, B> Unpin for Sum<A, B>where A: Unpin, B: Unpin,
impl<A, B> UnwindSafe for Sum<A, B>where A: UnwindSafe, B: 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