pub struct Notes {
pub module: &'static str,
pub file: &'static str,
pub line: u32,
pub docs: &'static str,
pub members: &'static [Note],
}Expand description
What a declaration’s text says beside its shape: where its Rust type is defined, its doc comment, and each member’s.
Fields§
§module: &'static strThe Rust module that defines it, as module_path!() spells it.
file: &'static strThe file that defines it, as file!() spells it.
line: u32The line it is defined at.
docs: &'static strIts doc comment’s text, one line each.
members: &'static [Note]A record’s fields, an enum’s constructors or a newtype’s one field, in declaration order.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Notes
impl Freeze for Notes
impl Move for Notes
impl RefUnwindSafe for Notes
impl Send for Notes
impl Sync for Notes
impl Unpin for Notes
impl UnsafeUnpin for Notes
impl UnwindSafe for Notes
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