pub struct LocationFloat {
pub x: f32,
pub y: f32,
pub z: f32,
}Fields§
§x: f32§y: f32§z: f32Trait Implementations§
Source§impl ByteReadable for LocationFloat
impl ByteReadable for LocationFloat
fn read_from_bytes(byte_reader: &mut ByteReader) -> Self
Source§impl ByteWritable for LocationFloat
impl ByteWritable for LocationFloat
fn write_to_bytes(self, writer: &mut ByteWriter)
Source§impl Clone for LocationFloat
impl Clone for LocationFloat
Source§fn clone(&self) -> LocationFloat
fn clone(&self) -> LocationFloat
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 LocationFloat
impl Debug for LocationFloat
Source§impl Default for LocationFloat
impl Default for LocationFloat
Source§fn default() -> LocationFloat
fn default() -> LocationFloat
Returns the “default value” for a type. Read more
Source§impl From<LocationFloat> for Location
impl From<LocationFloat> for Location
Source§fn from(loc: LocationFloat) -> Self
fn from(loc: LocationFloat) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LocationFloat
impl PartialEq for LocationFloat
impl Copy for LocationFloat
impl StructuralPartialEq for LocationFloat
Auto Trait Implementations§
impl Freeze for LocationFloat
impl RefUnwindSafe for LocationFloat
impl Send for LocationFloat
impl Sync for LocationFloat
impl Unpin for LocationFloat
impl UnwindSafe for LocationFloat
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more