pub struct Vec3<T> {
pub x: T,
pub y: T,
pub z: T,
}
Fields§
§x: T
§y: T
§z: T
Implementations§
Trait Implementations§
Source§impl<T> Deserialize for Vec3<T>where
T: Deserialize,
impl<T> Deserialize for Vec3<T>where
T: Deserialize,
fn mc_deserialize(data: &[u8]) -> DeserializeResult<'_, Self>
Source§impl<T> Serialize for Vec3<T>where
T: Serialize,
impl<T> Serialize for Vec3<T>where
T: Serialize,
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl<T> Copy for Vec3<T>where
T: Copy,
Auto Trait Implementations§
impl<T> Freeze for Vec3<T>where
T: Freeze,
impl<T> RefUnwindSafe for Vec3<T>where
T: RefUnwindSafe,
impl<T> Send for Vec3<T>where
T: Send,
impl<T> Sync for Vec3<T>where
T: Sync,
impl<T> Unpin for Vec3<T>where
T: Unpin,
impl<T> UnwindSafe for Vec3<T>where
T: UnwindSafe,
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