pub struct ViewBounds {
pub min_x: f32,
pub min_y: f32,
pub max_x: f32,
pub max_y: f32,
}
Fields§
§min_x: f32
§min_y: f32
§max_x: f32
§max_y: f32
Trait Implementations§
Source§impl Clone for ViewBounds
impl Clone for ViewBounds
Source§fn clone(&self) -> ViewBounds
fn clone(&self) -> ViewBounds
Returns a duplicate 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 moreSource§impl PartialEq for ViewBounds
impl PartialEq for ViewBounds
impl StructuralPartialEq for ViewBounds
Auto Trait Implementations§
impl Freeze for ViewBounds
impl RefUnwindSafe for ViewBounds
impl Send for ViewBounds
impl Sync for ViewBounds
impl Unpin for ViewBounds
impl UnwindSafe for ViewBounds
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