Struct re_renderer::RectF32
source · pub struct RectF32 {
pub min: Vec2,
pub extent: Vec2,
}Expand description
A 2D rectangle with float coordinates.
Fields§
§min: Vec2The corner with the smallest coordinates.
In most coordinate spaces this is the to top left corner of the rectangle.
extent: Vec2The size of the rectangle. Supposed to be positive.
Implementations§
Trait Implementations§
impl Copy for RectF32
Auto Trait Implementations§
impl RefUnwindSafe for RectF32
impl Send for RectF32
impl Sync for RectF32
impl Unpin for RectF32
impl UnwindSafe for RectF32
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