pub struct VisibleRect { /* private fields */ }Expand description
The part of an anchor rectangle that survived every enclosing clip.
Coordinates remain relative to the final ResolvedView. A clipped
rectangle is never moved onto an edge; this value is the true intersection.
Implementations§
Trait Implementations§
Source§impl Clone for VisibleRect
impl Clone for VisibleRect
Source§fn clone(&self) -> VisibleRect
fn clone(&self) -> VisibleRect
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 VisibleRect
impl Debug for VisibleRect
Source§impl PartialEq for VisibleRect
impl PartialEq for VisibleRect
Source§fn eq(&self, other: &VisibleRect) -> bool
fn eq(&self, other: &VisibleRect) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VisibleRect
impl Eq for VisibleRect
impl StructuralPartialEq for VisibleRect
Auto Trait Implementations§
impl Freeze for VisibleRect
impl RefUnwindSafe for VisibleRect
impl Send for VisibleRect
impl Sync for VisibleRect
impl Unpin for VisibleRect
impl UnsafeUnpin for VisibleRect
impl UnwindSafe for VisibleRect
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