pub struct EuvDocLayoutProps {
pub toc_title: &'static str,
pub toc_items: &'static [EuvTocItem],
pub prev_label: &'static str,
pub next_label: &'static str,
pub prev: Option<EuvPaginationItem>,
pub next: Option<EuvPaginationItem>,
pub footer: &'static str,
}Expand description
Props for the euv_doc_layout component.
Fields§
§toc_title: &'static strThe right-column table-of-contents title (e.g. "On this page").
toc_items: &'static [EuvTocItem]The right-column table-of-contents items (column hidden when empty).
prev_label: &'static strThe “previous page” link label (e.g. "Previous").
next_label: &'static strThe “next page” link label (e.g. "Next").
prev: Option<EuvPaginationItem>The previous page entry (skipped when None).
next: Option<EuvPaginationItem>The next page entry (skipped when None).
The footer text under the pagination (skipped when empty).
Trait Implementations§
Source§impl Clone for EuvDocLayoutProps
impl Clone for EuvDocLayoutProps
Source§impl Debug for EuvDocLayoutProps
impl Debug for EuvDocLayoutProps
Auto Trait Implementations§
impl Freeze for EuvDocLayoutProps
impl RefUnwindSafe for EuvDocLayoutProps
impl Send for EuvDocLayoutProps
impl Sync for EuvDocLayoutProps
impl Unpin for EuvDocLayoutProps
impl UnsafeUnpin for EuvDocLayoutProps
impl UnwindSafe for EuvDocLayoutProps
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