#[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
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more