pub enum PrimDocFragment {
Text(String),
Code(String),
Emphasis(String),
Strong(String),
Primitive {
prim: Primitive,
named: bool,
},
Link {
text: String,
url: String,
},
}Expand description
A pseudo-markdown fragment for primitive documentation
Variants§
Trait Implementations§
Source§impl Clone for PrimDocFragment
impl Clone for PrimDocFragment
Source§fn clone(&self) -> PrimDocFragment
fn clone(&self) -> PrimDocFragment
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for PrimDocFragment
impl RefUnwindSafe for PrimDocFragment
impl Send for PrimDocFragment
impl Sync for PrimDocFragment
impl Unpin for PrimDocFragment
impl UnwindSafe for PrimDocFragment
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