pub struct LinearExtrude<O> {
pub object: O,
pub height: f64,
pub convexity: f64,
pub twist: f64,
pub slices: usize,
pub scale: f64,
pub fn_: f64,
}Fields§
§object: O§height: f64§convexity: f64§twist: f64§slices: usize§scale: f64§fn_: f64Implementations§
Source§impl<O: Object> LinearExtrude<O>
impl<O: Object> LinearExtrude<O>
pub fn new(object: O) -> Self
pub fn with_height<T: Number>(self, height: T) -> Self
pub fn with_convexity(self, convexity: f64) -> Self
pub fn with_twist(self, twist: impl Number) -> Self
pub fn with_slices(self, slices: usize) -> Self
pub fn with_scale(self, scale: impl Number) -> Self
pub fn with_fn(self, fn_: f64) -> Self
Trait Implementations§
Source§impl<O: Clone> Clone for LinearExtrude<O>
impl<O: Clone> Clone for LinearExtrude<O>
Source§fn clone(&self) -> LinearExtrude<O>
fn clone(&self) -> LinearExtrude<O>
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 moreSource§impl<O: Debug> Debug for LinearExtrude<O>
impl<O: Debug> Debug for LinearExtrude<O>
Source§impl<'de, O> Deserialize<'de> for LinearExtrude<O>where
O: Deserialize<'de>,
impl<'de, O> Deserialize<'de> for LinearExtrude<O>where
O: Deserialize<'de>,
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<T: TwoDimensional> Object for LinearExtrude<T>
impl<T: TwoDimensional> Object for LinearExtrude<T>
Source§impl<O> Serialize for LinearExtrude<O>where
O: Serialize,
impl<O> Serialize for LinearExtrude<O>where
O: Serialize,
Source§impl<O: Object + ToDynamic> ToDynamic for LinearExtrude<O>
impl<O: Object + ToDynamic> ToDynamic for LinearExtrude<O>
fn to_dynamic(&self) -> DynamicObject
impl<O: Copy> Copy for LinearExtrude<O>
impl<T: TwoDimensional> ThreeDimensional for LinearExtrude<T>
Auto Trait Implementations§
impl<O> Freeze for LinearExtrude<O>where
O: Freeze,
impl<O> RefUnwindSafe for LinearExtrude<O>where
O: RefUnwindSafe,
impl<O> Send for LinearExtrude<O>where
O: Send,
impl<O> Sync for LinearExtrude<O>where
O: Sync,
impl<O> Unpin for LinearExtrude<O>where
O: Unpin,
impl<O> UnsafeUnpin for LinearExtrude<O>where
O: UnsafeUnpin,
impl<O> UnwindSafe for LinearExtrude<O>where
O: 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
Source§impl<T> CenterObject for Twhere
T: Object,
impl<T> CenterObject for Twhere
T: Object,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ColorObject for Twhere
T: Object,
impl<T> ColorObject for Twhere
T: Object,
fn colored(self, color: impl ColorFormat) -> Colored<T>
Source§impl<T> DifferenceObject for Twhere
T: Object,
impl<T> DifferenceObject for Twhere
T: Object,
fn difference<Other: Object>(self, other: Other) -> Difference<Self, Other>
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> IntersectionObject for Twhere
T: Object,
impl<T> IntersectionObject for Twhere
T: Object,
fn intersection<Other: Object>(self, other: Other) -> Intersection<Self, Other>
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