pub struct ViewState {
pub last_view: Option<String>,
pub view_meta: Option<String>,
}Fields§
§last_view: Option<String>§view_meta: Option<String>Per-format view metadata as a JSON string (text scroll, PDF page/zoom/fit). Opaque to the backend — the renderer owns the shape.
Trait Implementations§
Auto Trait Implementations§
impl Forget for ViewState
impl Freeze for ViewState
impl Move for ViewState
impl RefUnwindSafe for ViewState
impl Send for ViewState
impl Sync for ViewState
impl Unpin for ViewState
impl UnsafeUnpin for ViewState
impl UnwindSafe for ViewState
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