Struct typescript_type_def::type_expr::Docs
source · pub struct Docs(pub &'static str);
Expand description
A documentation string.
The string value should be the plain unformatted documentation without any
/**
or indentation in it. Lines may be separate by newlines.
Tuple Fields§
§0: &'static str
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Docs
impl Send for Docs
impl Sync for Docs
impl Unpin for Docs
impl UnwindSafe for Docs
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