#[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§
source§impl PartialEq for XSegment
impl PartialEq for XSegment
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