pub enum Example {
Literal(&'static str),
Simple(&'static str),
Compound(&'static [&'static str]),
}
Variants§
Literal(&'static str)
#[doku(literal_example = "foo")]
Simple(&'static str)
#[doku(example = "foo")]
Compound(&'static [&'static str])
#[doku(example = "one", example = "two")]
Implementations§
Trait Implementations§
impl Copy for Example
Auto Trait Implementations§
impl RefUnwindSafe for Example
impl Send for Example
impl Sync for Example
impl Unpin for Example
impl UnwindSafe for Example
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