pub struct Rect {
pub x: f32,
pub y: f32,
pub w: f32,
pub h: f32,
}
Fields§
§x: f32
§y: f32
§w: f32
§h: f32
Implementations§
Trait Implementations§
Source§impl SerRon for Rect
impl SerRon for Rect
fn ser_ron(&self, d: usize, s: &mut SerRonState)
fn serialize_ron(&self) -> String
impl Copy for Rect
impl StructuralPartialEq for Rect
Auto Trait Implementations§
impl Freeze for Rect
impl RefUnwindSafe for Rect
impl Send for Rect
impl Sync for Rect
impl Unpin for Rect
impl UnwindSafe for Rect
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