pub struct PlaneOffset {
pub x: isize,
pub y: isize,
}
Expand description
Absolute offset in pixels inside a plane
Fields§
§x: isize
§y: isize
Trait Implementations§
source§impl Clone for PlaneOffset
impl Clone for PlaneOffset
source§fn clone(&self) -> PlaneOffset
fn clone(&self) -> PlaneOffset
Returns a copy 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 Debug for PlaneOffset
impl Debug for PlaneOffset
source§impl Default for PlaneOffset
impl Default for PlaneOffset
source§fn default() -> PlaneOffset
fn default() -> PlaneOffset
Returns the “default value” for a type. Read more
impl Copy for PlaneOffset
Auto Trait Implementations§
impl Freeze for PlaneOffset
impl RefUnwindSafe for PlaneOffset
impl Send for PlaneOffset
impl Sync for PlaneOffset
impl Unpin for PlaneOffset
impl UnwindSafe for PlaneOffset
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