pub struct DocFragmentEntry {
pub id: &'static str,
pub seq: u32,
pub frag: DocFragment,
}Expand description
One annotation: the endpoint id plus the annotated piece of documentation.
seq is assigned by the macro at expansion time (source order) and is used
by DocRegistry::collect to restore declaration order, since linkme’s
linker-section iteration order is not source order.
Fields§
§id: &'static str§seq: u32§frag: DocFragmentAuto Trait Implementations§
impl Freeze for DocFragmentEntry
impl RefUnwindSafe for DocFragmentEntry
impl Send for DocFragmentEntry
impl Sync for DocFragmentEntry
impl Unpin for DocFragmentEntry
impl UnsafeUnpin for DocFragmentEntry
impl UnwindSafe for DocFragmentEntry
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