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§fn clone(&self) -> EuvDocLayoutProps
fn clone(&self) -> EuvDocLayoutProps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EuvDocLayoutProps
impl Debug for EuvDocLayoutProps
Source§impl Default for EuvDocLayoutProps
impl Default for EuvDocLayoutProps
Source§fn default() -> EuvDocLayoutProps
fn default() -> EuvDocLayoutProps
Returns the “default value” for a type. Read more
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