Enum uiua::PrimDocFragment
source · 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 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