pub struct Point3DConfig {
pub x: f64,
pub y: f64,
pub z: f64,
}Expand description
3D point configuration
Fields§
§x: f64X coordinate
y: f64Y coordinate
z: f64Z coordinate
Trait Implementations§
Source§impl Clone for Point3DConfig
impl Clone for Point3DConfig
Source§fn clone(&self) -> Point3DConfig
fn clone(&self) -> Point3DConfig
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 Point3DConfig
impl Debug for Point3DConfig
Source§impl<'de> Deserialize<'de> for Point3DConfig
impl<'de> Deserialize<'de> for Point3DConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Point3DConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Point3DConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Point3D> for Point3DConfig
impl From<Point3D> for Point3DConfig
Source§fn from(p: Point3D) -> Point3DConfig
fn from(p: Point3D) -> Point3DConfig
Converts to this type from the input type.
Source§impl From<Point3DConfig> for Point3D
impl From<Point3DConfig> for Point3D
Source§fn from(p: Point3DConfig) -> Point3D
fn from(p: Point3DConfig) -> Point3D
Converts to this type from the input type.
Source§impl Serialize for Point3DConfig
impl Serialize for Point3DConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Point3DConfig
Auto Trait Implementations§
impl Freeze for Point3DConfig
impl RefUnwindSafe for Point3DConfig
impl Send for Point3DConfig
impl Sync for Point3DConfig
impl Unpin for Point3DConfig
impl UnwindSafe for Point3DConfig
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