Struct i_slint_core::software_renderer::PhysicalRegion
source · pub struct PhysicalRegion(_);Expand description
Represents a rectangular region on the screen, used for partial rendering.
The region may be composed of multiple sub-regions.
Implementations§
source§impl PhysicalRegion
impl PhysicalRegion
sourcepub fn bounding_box_size(&self) -> PhysicalSize
pub fn bounding_box_size(&self) -> PhysicalSize
Returns the size of the bounding box of this region.
sourcepub fn bounding_box_origin(&self) -> PhysicalPosition
pub fn bounding_box_origin(&self) -> PhysicalPosition
Returns the origin of the bounding box of this region.
Trait Implementations§
source§impl Clone for PhysicalRegion
impl Clone for PhysicalRegion
source§fn clone(&self) -> PhysicalRegion
fn clone(&self) -> PhysicalRegion
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for PhysicalRegion
impl Send for PhysicalRegion
impl Sync for PhysicalRegion
impl Unpin for PhysicalRegion
impl UnwindSafe for PhysicalRegion
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