pub struct PageChromeCommand {
pub kind: PageChromeKind,
pub text: Option<String>,
pub current: Option<usize>,
pub total: Option<usize>,
}Expand description
Page-level metadata/chrome marker.
Fields§
§kind: PageChromeKindSemantic chrome kind.
text: Option<String>Optional text payload (e.g. footer text).
current: Option<usize>Optional current value (e.g. for progress).
total: Option<usize>Optional total value (e.g. for progress).
Trait Implementations§
Source§impl Clone for PageChromeCommand
impl Clone for PageChromeCommand
Source§fn clone(&self) -> PageChromeCommand
fn clone(&self) -> PageChromeCommand
Returns a duplicate of the value. Read more
1.0.0 · 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 PageChromeCommand
impl Debug for PageChromeCommand
Source§impl PartialEq for PageChromeCommand
impl PartialEq for PageChromeCommand
impl Eq for PageChromeCommand
impl StructuralPartialEq for PageChromeCommand
Auto Trait Implementations§
impl Freeze for PageChromeCommand
impl RefUnwindSafe for PageChromeCommand
impl Send for PageChromeCommand
impl Sync for PageChromeCommand
impl Unpin for PageChromeCommand
impl UnsafeUnpin for PageChromeCommand
impl UnwindSafe for PageChromeCommand
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