pub struct IntersectionObserverReg {
pub id: u32,
pub callback: Value,
pub root: Value,
pub root_margin: RootMargin,
pub thresholds: Vec<f64>,
pub targets: Vec<ObservedTarget>,
pub queued_records: Vec<Value>,
}Expand description
IntersectionObserver の登録エントリ
Fields§
§id: u32§callback: Value§root: Value§root_margin: RootMargin§thresholds: Vec<f64>§targets: Vec<ObservedTarget>§queued_records: Vec<Value>Trait Implementations§
Source§impl Clone for IntersectionObserverReg
impl Clone for IntersectionObserverReg
Source§fn clone(&self) -> IntersectionObserverReg
fn clone(&self) -> IntersectionObserverReg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for IntersectionObserverReg
impl !Send for IntersectionObserverReg
impl !Sync for IntersectionObserverReg
impl !UnwindSafe for IntersectionObserverReg
impl Freeze for IntersectionObserverReg
impl Unpin for IntersectionObserverReg
impl UnsafeUnpin for IntersectionObserverReg
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