#[repr(C)]pub struct BookmarkDef {
pub title: String,
pub page: i32,
pub y_position: f64,
pub parent_index: i32,
pub open: bool,
}Expand description
Bookmark definition for FFI
Fields§
§title: StringBookmark title
page: i32Target page (1-indexed)
y_position: f64Y position on page (negative means top of page)
parent_index: i32Parent bookmark index (-1 for root)
open: boolWhether bookmark is initially open
Trait Implementations§
Source§impl Clone for BookmarkDef
impl Clone for BookmarkDef
Source§impl Debug for BookmarkDef
impl Debug for BookmarkDef
Source§impl ExternType for BookmarkDef
impl ExternType for BookmarkDef
Auto Trait Implementations§
impl Freeze for BookmarkDef
impl RefUnwindSafe for BookmarkDef
impl Send for BookmarkDef
impl Sync for BookmarkDef
impl Unpin for BookmarkDef
impl UnwindSafe for BookmarkDef
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