#[repr(C)]pub struct XSegment {
pub x1: c_short,
pub y1: c_short,
pub x2: c_short,
pub y2: c_short,
}
Fields§
§x1: c_short
§y1: c_short
§x2: c_short
§y2: c_short
Trait Implementations§
impl Copy for XSegment
impl StructuralPartialEq for XSegment
Auto Trait Implementations§
impl Freeze for XSegment
impl RefUnwindSafe for XSegment
impl Send for XSegment
impl Sync for XSegment
impl Unpin for XSegment
impl UnwindSafe for XSegment
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)