pub struct PropertiesAndReason {
pub tags: Box<[Property]>,
pub desc: Option<Str>,
}Fields§
§desc: Option<Str>Implementations§
Source§impl PropertiesAndReason
impl PropertiesAndReason
Sourcepub fn gen_doc(&self) -> TokenStream
pub fn gen_doc(&self) -> TokenStream
Generate
/// Grouped desc
/// * SP1: desc
/// * SP2: descpub fn need_gen_doc(&self) -> bool
Trait Implementations§
Source§impl Debug for PropertiesAndReason
impl Debug for PropertiesAndReason
Source§impl Parse for PropertiesAndReason
impl Parse for PropertiesAndReason
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for PropertiesAndReason
impl RefUnwindSafe for PropertiesAndReason
impl !Send for PropertiesAndReason
impl !Sync for PropertiesAndReason
impl Unpin for PropertiesAndReason
impl UnwindSafe for PropertiesAndReason
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