pub struct DocComment<T>(_);
Expand description
Format a doc comment where each line is preceeded by ///
.
This struct is created by the doc_comment function.
Trait Implementations
sourceimpl<T> FormatInto<Dart> for DocComment<T>where
T: IntoIterator,
T::Item: Into<ItemStr>,
impl<T> FormatInto<Dart> for DocComment<T>where
T: IntoIterator,
T::Item: Into<ItemStr>,
sourcefn format_into(self, tokens: &mut Tokens<Dart>)
fn format_into(self, tokens: &mut Tokens<Dart>)
Convert the type into tokens in-place. Read more
Auto Trait Implementations
impl<T> RefUnwindSafe for DocComment<T>where
T: RefUnwindSafe,
impl<T> Send for DocComment<T>where
T: Send,
impl<T> Sync for DocComment<T>where
T: Sync,
impl<T> Unpin for DocComment<T>where
T: Unpin,
impl<T> UnwindSafe for DocComment<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more