pub struct PrimitiveElement<'a, P: Primitive>(pub &'a P);Expand description
A primitive’s _name object, written straight to a serializer.
Tuple Fields§
§0: &'a PTrait Implementations§
Auto Trait Implementations§
impl<'a, P> Freeze for PrimitiveElement<'a, P>
impl<'a, P> RefUnwindSafe for PrimitiveElement<'a, P>where
&'a P: RefUnwindSafe,
impl<'a, P> Send for PrimitiveElement<'a, P>
impl<'a, P> Sync for PrimitiveElement<'a, P>
impl<'a, P> Unpin for PrimitiveElement<'a, P>
impl<'a, P> UnsafeUnpin for PrimitiveElement<'a, P>where
&'a P: UnsafeUnpin,
impl<'a, P> UnwindSafe for PrimitiveElement<'a, P>where
&'a P: 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