pub struct FloatRect {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
}Fields§
§x: f64the x coordinate of the element in pixels.
y: f64§width: f64the width of the element in pixels.
height: f64Trait Implementations§
Source§impl<'de> Deserialize<'de> for FloatRect
impl<'de> Deserialize<'de> for FloatRect
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for FloatRect
impl StructuralPartialEq for FloatRect
Auto Trait Implementations§
impl Freeze for FloatRect
impl RefUnwindSafe for FloatRect
impl Send for FloatRect
impl Sync for FloatRect
impl Unpin for FloatRect
impl UnwindSafe for FloatRect
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