pub struct ObserveConfig {
pub viewport_only: bool,
}Expand description
Configuration for observation behavior.
Fields§
§viewport_only: boolOnly include elements visible in the current viewport. Dramatically reduces token count on long pages. Default: true.
Trait Implementations§
Source§impl Clone for ObserveConfig
impl Clone for ObserveConfig
Source§fn clone(&self) -> ObserveConfig
fn clone(&self) -> ObserveConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObserveConfig
impl Debug for ObserveConfig
Auto Trait Implementations§
impl Freeze for ObserveConfig
impl RefUnwindSafe for ObserveConfig
impl Send for ObserveConfig
impl Sync for ObserveConfig
impl Unpin for ObserveConfig
impl UnsafeUnpin for ObserveConfig
impl UnwindSafe for ObserveConfig
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