#[repr(C)]pub struct ushort2 {
pub x: u16,
pub y: u16,
}Fields§
§x: u16§y: u16Trait Implementations§
source§impl Ord for ushort2
impl Ord for ushort2
source§impl PartialEq<ushort2> for ushort2
impl PartialEq<ushort2> for ushort2
source§impl PartialOrd<ushort2> for ushort2
impl PartialOrd<ushort2> for ushort2
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 ushort2
impl Eq for ushort2
impl StructuralEq for ushort2
impl StructuralPartialEq for ushort2
Auto Trait Implementations§
impl RefUnwindSafe for ushort2
impl Send for ushort2
impl Sync for ushort2
impl Unpin for ushort2
impl UnwindSafe for ushort2
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