pub struct DocumentSnapshotBuilder { /* private fields */ }Implementations§
Source§impl DocumentSnapshotBuilder
impl DocumentSnapshotBuilder
Sourcepub fn scrollOffsetX(self, scrollOffsetX: f64) -> Self
pub fn scrollOffsetX(self, scrollOffsetX: f64) -> Self
Horizontal scroll offset.
Sourcepub fn scrollOffsetY(self, scrollOffsetY: f64) -> Self
pub fn scrollOffsetY(self, scrollOffsetY: f64) -> Self
Vertical scroll offset.
Sourcepub fn contentWidth(self, contentWidth: f64) -> Self
pub fn contentWidth(self, contentWidth: f64) -> Self
Document content width.
Sourcepub fn contentHeight(self, contentHeight: f64) -> Self
pub fn contentHeight(self, contentHeight: 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