#[non_exhaustive]pub struct BBoxOptions {
pub include_images: bool,
pub max_work: u64,
}Expand description
Options of Document::bbox_with.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.include_images: boolInclude Image entities in the box.
max_work: u64Work budget of the underlying walk (see WalkOptions::max_work); the box covers
what was visited before the budget ran out.
Implementations§
Source§impl BBoxOptions
impl BBoxOptions
Sourcepub const fn with_include_images(self, include_images: bool) -> Self
pub const fn with_include_images(self, include_images: bool) -> Self
Sets Self::include_images.
Sourcepub const fn with_max_work(self, max_work: u64) -> Self
pub const fn with_max_work(self, max_work: u64) -> Self
Sets Self::max_work.
Trait Implementations§
Source§impl Clone for BBoxOptions
impl Clone for BBoxOptions
impl Copy for BBoxOptions
Source§impl Debug for BBoxOptions
impl Debug for BBoxOptions
Source§impl Default for BBoxOptions
impl Default for BBoxOptions
impl Eq for BBoxOptions
Source§impl PartialEq for BBoxOptions
impl PartialEq for BBoxOptions
impl StructuralPartialEq for BBoxOptions
Auto Trait Implementations§
impl Forget for BBoxOptions
impl Freeze for BBoxOptions
impl Move for BBoxOptions
impl RefUnwindSafe for BBoxOptions
impl Send for BBoxOptions
impl Sync for BBoxOptions
impl Unpin for BBoxOptions
impl UnsafeUnpin for BBoxOptions
impl UnwindSafe for BBoxOptions
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