pub struct IntersectionState {
pub bounding_client_rect: IntersectionRect,
pub root_bounds: Option<IntersectionRect>,
pub intersection_rect: IntersectionRect,
pub is_intersecting: bool,
pub intersection_ratio: f64,
}Expand description
交差判定結果
Fields§
§bounding_client_rect: IntersectionRect§root_bounds: Option<IntersectionRect>§intersection_rect: IntersectionRect§is_intersecting: bool§intersection_ratio: f64Trait Implementations§
Source§impl Clone for IntersectionState
impl Clone for IntersectionState
Source§fn clone(&self) -> IntersectionState
fn clone(&self) -> IntersectionState
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 moreSource§impl Debug for IntersectionState
impl Debug for IntersectionState
Source§impl PartialEq for IntersectionState
impl PartialEq for IntersectionState
impl StructuralPartialEq for IntersectionState
Auto Trait Implementations§
impl Freeze for IntersectionState
impl RefUnwindSafe for IntersectionState
impl Send for IntersectionState
impl Sync for IntersectionState
impl Unpin for IntersectionState
impl UnsafeUnpin for IntersectionState
impl UnwindSafe for IntersectionState
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