pub struct PrefabVec3 {
pub x: f64,
pub y: f64,
pub z: f64,
}Expand description
A float 3-vector as serialized in Meta/Prefab.json (pivot centers and
half-extents).
Fields§
§x: f64§y: f64§z: f64Trait Implementations§
Source§impl Clone for PrefabVec3
impl Clone for PrefabVec3
Source§fn clone(&self) -> PrefabVec3
fn clone(&self) -> PrefabVec3
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PrefabVec3
Source§impl Debug for PrefabVec3
impl Debug for PrefabVec3
Source§impl Default for PrefabVec3
impl Default for PrefabVec3
Source§fn default() -> PrefabVec3
fn default() -> PrefabVec3
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrefabVec3
impl<'de> Deserialize<'de> for PrefabVec3
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PrefabVec3
impl RefUnwindSafe for PrefabVec3
impl Send for PrefabVec3
impl Sync for PrefabVec3
impl Unpin for PrefabVec3
impl UnsafeUnpin for PrefabVec3
impl UnwindSafe for PrefabVec3
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