#[repr(C, packed(1))]pub struct AnchorPoint {
pub x: BigEndian<i16>,
pub y: BigEndian<i16>,
}
Expand description
Individual anchor point.
Fields§
§x: BigEndian<i16>
§y: BigEndian<i16>
Implementations§
Trait Implementations§
Source§impl Clone for AnchorPoint
impl Clone for AnchorPoint
Source§fn clone(&self) -> AnchorPoint
fn clone(&self) -> AnchorPoint
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AnchorPoint
impl Debug for AnchorPoint
Source§impl FixedSize for AnchorPoint
impl FixedSize for AnchorPoint
Source§const RAW_BYTE_LEN: usize = 4usize
const RAW_BYTE_LEN: usize = 4usize
The raw size of this type, in bytes. Read more
Source§impl Hash for AnchorPoint
impl Hash for AnchorPoint
Source§impl Ord for AnchorPoint
impl Ord for AnchorPoint
Source§fn cmp(&self, other: &AnchorPoint) -> Ordering
fn cmp(&self, other: &AnchorPoint) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AnchorPoint
impl PartialEq for AnchorPoint
Source§impl PartialOrd for AnchorPoint
impl PartialOrd for AnchorPoint
impl AnyBitPattern for AnchorPoint
impl Copy for AnchorPoint
impl Eq for AnchorPoint
impl StructuralPartialEq for AnchorPoint
Auto Trait Implementations§
impl Freeze for AnchorPoint
impl RefUnwindSafe for AnchorPoint
impl Send for AnchorPoint
impl Sync for AnchorPoint
impl Unpin for AnchorPoint
impl UnwindSafe for AnchorPoint
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.