pub struct Doc<T>where
T: DocReference,{ /* private fields */ }
Implementations§
Source§impl Doc<Unvalidated>
impl Doc<Unvalidated>
pub fn warning<D: Into<DocString<Unvalidated>>>(self, warning: D) -> Self
pub fn details<D: Into<DocString<Unvalidated>>>(self, details: D) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Doc<T>
impl<T> RefUnwindSafe for Doc<T>where
T: RefUnwindSafe,
impl<T> Send for Doc<T>where
T: Send,
impl<T> Sync for Doc<T>where
T: Sync,
impl<T> Unpin for Doc<T>where
T: Unpin,
impl<T> UnwindSafe for Doc<T>where
T: 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