Struct macroquad::math::RectOffset
source · [−]Fields
left: f32
right: f32
bottom: f32
top: f32
Implementations
sourceimpl RectOffset
impl RectOffset
Trait Implementations
sourceimpl Clone for RectOffset
impl Clone for RectOffset
sourcefn clone(&self) -> RectOffset
fn clone(&self) -> RectOffset
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RectOffset
impl Debug for RectOffset
sourceimpl Default for RectOffset
impl Default for RectOffset
sourcefn default() -> RectOffset
fn default() -> RectOffset
Returns the “default value” for a type. Read more
sourceimpl PartialEq<RectOffset> for RectOffset
impl PartialEq<RectOffset> for RectOffset
sourcefn eq(&self, other: &RectOffset) -> bool
fn eq(&self, other: &RectOffset) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for RectOffset
impl StructuralPartialEq for RectOffset
Auto Trait Implementations
impl RefUnwindSafe for RectOffset
impl Send for RectOffset
impl Sync for RectOffset
impl Unpin for RectOffset
impl UnwindSafe for RectOffset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more