pub enum SweepTransformation {
Constant,
MultiSection,
Linear,
SShape,
Interpolation,
}Expand description
Cross-section interpolation law for a multi-section sweep.
Variants§
Constant
Keep one constant section along the path.
MultiSection
Interpolate through explicit ordered sections.
Linear
Apply linear section interpolation.
SShape
Apply an S-shaped interpolation law.
Interpolation
Apply the native smooth interpolation law.
Trait Implementations§
Source§impl Clone for SweepTransformation
impl Clone for SweepTransformation
Source§fn clone(&self) -> SweepTransformation
fn clone(&self) -> SweepTransformation
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 SweepTransformation
Source§impl Debug for SweepTransformation
impl Debug for SweepTransformation
Source§impl<'de> Deserialize<'de> for SweepTransformation
impl<'de> Deserialize<'de> for SweepTransformation
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
impl Eq for SweepTransformation
Source§impl JsonSchema for SweepTransformation
impl JsonSchema for SweepTransformation
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SweepTransformation
impl PartialEq for SweepTransformation
Source§impl Serialize for SweepTransformation
impl Serialize for SweepTransformation
impl StructuralPartialEq for SweepTransformation
Auto Trait Implementations§
impl Freeze for SweepTransformation
impl RefUnwindSafe for SweepTransformation
impl Send for SweepTransformation
impl Sync for SweepTransformation
impl Unpin for SweepTransformation
impl UnsafeUnpin for SweepTransformation
impl UnwindSafe for SweepTransformation
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