#[repr(C)]pub struct short2 {
pub x: i16,
pub y: i16,
}Fields§
§x: i16§y: i16Trait Implementations§
source§impl Ord for short2
impl Ord for short2
source§impl PartialEq<short2> for short2
impl PartialEq<short2> for short2
source§impl PartialOrd<short2> for short2
impl PartialOrd<short2> for short2
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for short2
impl Eq for short2
impl StructuralEq for short2
impl StructuralPartialEq for short2
Auto Trait Implementations§
impl RefUnwindSafe for short2
impl Send for short2
impl Sync for short2
impl Unpin for short2
impl UnwindSafe for short2
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