Struct shalrath::repr::BrushPlane
source · pub struct BrushPlane {
pub plane: TrianglePlane,
pub texture: String,
pub texture_offset: TextureOffset,
pub angle: f32,
pub scale_x: f32,
pub scale_y: f32,
pub extension: Extension,
}
Expand description
Composes a 3D plane represented by three points, a texture name, and UV data.
Fields§
§plane: TrianglePlane
§texture: String
§texture_offset: TextureOffset
§angle: f32
§scale_x: f32
§scale_y: f32
§extension: Extension
Trait Implementations§
source§impl Clone for BrushPlane
impl Clone for BrushPlane
source§fn clone(&self) -> BrushPlane
fn clone(&self) -> BrushPlane
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 BrushPlane
impl Debug for BrushPlane
source§impl Default for BrushPlane
impl Default for BrushPlane
source§fn default() -> BrushPlane
fn default() -> BrushPlane
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BrushPlane
impl<'de> Deserialize<'de> for BrushPlane
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 BrushPlane
impl Display for BrushPlane
source§impl FromStr for BrushPlane
impl FromStr for BrushPlane
source§impl PartialEq for BrushPlane
impl PartialEq for BrushPlane
source§fn eq(&self, other: &BrushPlane) -> bool
fn eq(&self, other: &BrushPlane) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BrushPlane
impl PartialOrd for BrushPlane
source§fn partial_cmp(&self, other: &BrushPlane) -> Option<Ordering>
fn partial_cmp(&self, other: &BrushPlane) -> 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 BrushPlane
impl Serialize for BrushPlane
impl StructuralPartialEq for BrushPlane
Auto Trait Implementations§
impl Freeze for BrushPlane
impl RefUnwindSafe for BrushPlane
impl Send for BrushPlane
impl Sync for BrushPlane
impl Unpin for BrushPlane
impl UnwindSafe for BrushPlane
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