Struct shalrath::repr::TexturePlane
source · pub struct TexturePlane {
pub x: f32,
pub y: f32,
pub z: f32,
pub d: f32,
}
Expand description
A plane described by a normal and distance.
Fields§
§x: f32
§y: f32
§z: f32
§d: f32
Trait Implementations§
source§impl Clone for TexturePlane
impl Clone for TexturePlane
source§fn clone(&self) -> TexturePlane
fn clone(&self) -> TexturePlane
Returns a copy 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 TexturePlane
impl Debug for TexturePlane
source§impl Default for TexturePlane
impl Default for TexturePlane
source§fn default() -> TexturePlane
fn default() -> TexturePlane
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TexturePlane
impl<'de> Deserialize<'de> for TexturePlane
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
source§impl Display for TexturePlane
impl Display for TexturePlane
source§impl PartialEq for TexturePlane
impl PartialEq for TexturePlane
source§fn eq(&self, other: &TexturePlane) -> bool
fn eq(&self, other: &TexturePlane) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TexturePlane
impl PartialOrd for TexturePlane
source§fn partial_cmp(&self, other: &TexturePlane) -> Option<Ordering>
fn partial_cmp(&self, other: &TexturePlane) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for TexturePlane
impl Serialize for TexturePlane
impl Copy for TexturePlane
impl StructuralPartialEq for TexturePlane
Auto Trait Implementations§
impl Freeze for TexturePlane
impl RefUnwindSafe for TexturePlane
impl Send for TexturePlane
impl Sync for TexturePlane
impl Unpin for TexturePlane
impl UnwindSafe for TexturePlane
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