#[repr(C)]pub struct AttachPoint {
pub x: U16,
pub y: U16,
}Fields§
§x: U16§y: U16Trait Implementations§
Source§impl Clone for AttachPoint
impl Clone for AttachPoint
Source§fn clone(&self) -> AttachPoint
fn clone(&self) -> AttachPoint
Returns a duplicate 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 AttachPoint
impl Debug for AttachPoint
Source§impl Default for AttachPoint
impl Default for AttachPoint
Source§fn default() -> AttachPoint
fn default() -> AttachPoint
Returns the “default value” for a type. Read more
Source§impl FromBytes for AttachPoint
impl FromBytes for AttachPoint
Source§impl FromZeros for AttachPoint
impl FromZeros for AttachPoint
Source§impl PartialEq for AttachPoint
impl PartialEq for AttachPoint
Source§impl TryFromBytes for AttachPointwhere
U16: TryFromBytes,
impl TryFromBytes for AttachPointwhere
U16: TryFromBytes,
Source§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
Source§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for AttachPoint
impl Eq for AttachPoint
impl Immutable for AttachPoint
impl StructuralPartialEq for AttachPoint
Auto Trait Implementations§
impl Freeze for AttachPoint
impl RefUnwindSafe for AttachPoint
impl Send for AttachPoint
impl Sync for AttachPoint
impl Unpin for AttachPoint
impl UnwindSafe for AttachPoint
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