Struct XRectangle
#[repr(C)]pub struct XRectangle {
pub x: i16,
pub y: i16,
pub width: u16,
pub height: u16,
}Fields§
§x: i16§y: i16§width: u16§height: u16Trait Implementations§
§impl Clone for XRectangle
impl Clone for XRectangle
§fn clone(&self) -> XRectangle
fn clone(&self) -> XRectangle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for XRectangle
§impl Debug for XRectangle
impl Debug for XRectangle
§impl PartialEq for XRectangle
impl PartialEq for XRectangle
impl StructuralPartialEq for XRectangle
Auto Trait Implementations§
impl Freeze for XRectangle
impl RefUnwindSafe for XRectangle
impl Send for XRectangle
impl Sync for XRectangle
impl Unpin for XRectangle
impl UnsafeUnpin for XRectangle
impl UnwindSafe for XRectangle
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