pub struct DocumentSnapshotBuilder { /* private fields */ }Implementations§
Source§impl DocumentSnapshotBuilder
impl DocumentSnapshotBuilder
Sourcepub fn scroll_offset_x(self, scroll_offset_x: f64) -> Self
pub fn scroll_offset_x(self, scroll_offset_x: f64) -> Self
Horizontal scroll offset.
Sourcepub fn scroll_offset_y(self, scroll_offset_y: f64) -> Self
pub fn scroll_offset_y(self, scroll_offset_y: f64) -> Self
Vertical scroll offset.
Sourcepub fn content_width(self, content_width: f64) -> Self
pub fn content_width(self, content_width: f64) -> Self
Document content width.
Sourcepub fn content_height(self, content_height: f64) -> Self
pub fn content_height(self, content_height: f64) -> Self
Document content height.
pub fn build(self) -> DocumentSnapshot
Auto Trait Implementations§
impl Freeze for DocumentSnapshotBuilder
impl RefUnwindSafe for DocumentSnapshotBuilder
impl Send for DocumentSnapshotBuilder
impl Sync for DocumentSnapshotBuilder
impl Unpin for DocumentSnapshotBuilder
impl UnsafeUnpin for DocumentSnapshotBuilder
impl UnwindSafe for DocumentSnapshotBuilder
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