Struct rust_rpg_toolkit::prelude::URect [−][src]
Fields
x: u32
y: u32
w: u32
h: u32
Implementations
Scales the Rect
by a factor of (sx, sy),
growing towards the bottom-left
Returns a new Rect
that includes all points of these two Rect
s.
Returns an intersection rect there is any intersection
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for URect
impl UnwindSafe for URect
Blanket Implementations
Mutably borrows from an owned value. Read more