#[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
sourceimpl PartialEq<XSegment> for XSegment
impl PartialEq<XSegment> for XSegment
impl Copy for XSegment
impl StructuralPartialEq for XSegment
Auto Trait Implementations
impl RefUnwindSafe for XSegment
impl Send for XSegment
impl Sync for XSegment
impl Unpin for XSegment
impl UnwindSafe for XSegment
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