Struct x11::xlib::XRectangle
source · [−]#[repr(C)]pub struct XRectangle {
pub x: c_short,
pub y: c_short,
pub width: c_ushort,
pub height: c_ushort,
}
Fields
x: c_short
y: c_short
width: c_ushort
height: c_ushort
Trait Implementations
sourceimpl Clone for XRectangle
impl Clone for XRectangle
sourcefn clone(&self) -> XRectangle
fn clone(&self) -> XRectangle
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 XRectangle
impl Debug for XRectangle
sourceimpl PartialEq<XRectangle> for XRectangle
impl PartialEq<XRectangle> for XRectangle
sourcefn eq(&self, other: &XRectangle) -> bool
fn eq(&self, other: &XRectangle) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for XRectangle
impl StructuralPartialEq for XRectangle
Auto Trait Implementations
impl RefUnwindSafe for XRectangle
impl Send for XRectangle
impl Sync for XRectangle
impl Unpin for XRectangle
impl UnwindSafe for XRectangle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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