Struct specta_typescript::CommentFormatterArgs
source · #[non_exhaustive]pub struct CommentFormatterArgs<'a> {
pub docs: &'a Cow<'static, str>,
pub deprecated: Option<&'a DeprecatedType>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.docs: &'a Cow<'static, str>
§deprecated: Option<&'a DeprecatedType>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CommentFormatterArgs<'a>
impl<'a> RefUnwindSafe for CommentFormatterArgs<'a>
impl<'a> Send for CommentFormatterArgs<'a>
impl<'a> Sync for CommentFormatterArgs<'a>
impl<'a> Unpin for CommentFormatterArgs<'a>
impl<'a> UnwindSafe for CommentFormatterArgs<'a>
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