pub struct ReadingFrame {
pub title: Option<String>,
pub back_href: Option<String>,
pub back_label: Option<String>,
}Expand description
Reading-frame chrome for long documents (papers, legal, support): a sticky
toolbar with a back-link + title over a centered reading “sheet”. Set on
PageConfig::reading_frame to wrap the shell page content.
Fields§
§title: Option<String>Document title shown centered in the toolbar.
back_href: Option<String>Back-link target. Defaults to “/”.
back_label: Option<String>Back-link label. Defaults to “Home”.
Trait Implementations§
Source§impl Clone for ReadingFrame
impl Clone for ReadingFrame
Source§fn clone(&self) -> ReadingFrame
fn clone(&self) -> ReadingFrame
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 ReadingFrame
impl Debug for ReadingFrame
Source§impl Default for ReadingFrame
impl Default for ReadingFrame
Source§fn default() -> ReadingFrame
fn default() -> ReadingFrame
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReadingFrame
impl RefUnwindSafe for ReadingFrame
impl Send for ReadingFrame
impl Sync for ReadingFrame
impl Unpin for ReadingFrame
impl UnsafeUnpin for ReadingFrame
impl UnwindSafe for ReadingFrame
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