pub struct SigMeta {
pub doc: Option<DocComment>,
pub complexity: Option<u8>,
}Expand description
Documentation and complexity metadata for a root function or global (from .sig).
Fields§
§doc: Option<DocComment>Doxygen-style doc (from /// lines or /** … */ in .sig). May contain @param, @return, @complexity, etc.
complexity: Option<u8>Complexity code 1–13 when set via @complexity in the doc (convenience copy; also in doc.complexity).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SigMeta
impl RefUnwindSafe for SigMeta
impl Send for SigMeta
impl Sync for SigMeta
impl Unpin for SigMeta
impl UnsafeUnpin for SigMeta
impl UnwindSafe for SigMeta
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