pub struct XY {
pub x: u8,
pub y: u8,
}Expand description
X and Y parts of a descriptor.
Fields§
§x: u8§y: u8Trait Implementations§
impl Copy for XY
impl Eq for XY
impl StructuralPartialEq for XY
Auto Trait Implementations§
impl Freeze for XY
impl RefUnwindSafe for XY
impl Send for XY
impl Sync for XY
impl Unpin for XY
impl UnwindSafe for XY
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.