pub struct TsDocExtensions {
pub is_alpha: bool,
pub is_beta: bool,
pub is_package_doc: bool,
pub remarks: Option<String>,
pub private_remarks: Option<String>,
pub default_values: Vec<(String, String)>,
pub type_params: Vec<(String, Option<String>)>,
pub is_override: bool,
pub is_virtual: bool,
pub is_sealed: bool,
pub inherit_doc: Option<String>,
pub is_event_property: bool,
}Expand description
@acp:summary “TSDoc-specific fields extending ParsedDocumentation”
Fields§
§is_alpha: bool@alpha modifier - unstable API
is_beta: bool@beta modifier - preview API
is_package_doc: bool@packageDocumentation - file/module level doc
remarks: Option<String>@remarks - extended description
private_remarks: Option<String>@privateRemarks - internal notes (not exported)
default_values: Vec<(String, String)>@defaultValue entries
type_params: Vec<(String, Option<String>)>@typeParam entries: (name, description)
is_override: bool@override modifier
is_virtual: bool@virtual modifier
is_sealed: bool@sealed modifier
inherit_doc: Option<String>{@inheritDoc Target} references
is_event_property: bool@eventProperty modifier
Trait Implementations§
Source§impl Clone for TsDocExtensions
impl Clone for TsDocExtensions
Source§fn clone(&self) -> TsDocExtensions
fn clone(&self) -> TsDocExtensions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TsDocExtensions
impl Debug for TsDocExtensions
Source§impl Default for TsDocExtensions
impl Default for TsDocExtensions
Source§fn default() -> TsDocExtensions
fn default() -> TsDocExtensions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TsDocExtensions
impl RefUnwindSafe for TsDocExtensions
impl Send for TsDocExtensions
impl Sync for TsDocExtensions
impl Unpin for TsDocExtensions
impl UnwindSafe for TsDocExtensions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more