pub struct ValueItem {
pub name: Ident,
pub kind: ValueKind,
pub doc: String,
pub pages: Option<String>,
pub span: Span,
}Expand description
An enum or record that may cross a Bern boundary.
Fields§
§name: Ident§kind: ValueKind§doc: String§pages: Option<String>#[bern::value(pages = "main")]: the enum selecting the pages of a
page slot, which modules extend with their pages.
span: SpanTrait Implementations§
Auto Trait Implementations§
impl !Send for ValueItem
impl !Sync for ValueItem
impl Freeze for ValueItem
impl RefUnwindSafe for ValueItem
impl Unpin for ValueItem
impl UnsafeUnpin for ValueItem
impl UnwindSafe for ValueItem
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