Enum omg_serde::generation::step::GenerationStepSerde
source · [−]pub enum GenerationStepSerde {
CreateAttribute(CreateAttributeStepSerde),
Debug(String),
DistortAlongX(Distortion1dStepSerde),
DistortAlongY(Distortion1dStepSerde),
Distortion2d(Distortion2dStepSerde),
GeneratorAdd(GeneratorStepSerde),
GeneratorSub(GeneratorStepSerde),
ModifyWithAttribute(ModifyWithAttributeStepSerde),
TransformAttribute2d(TransformAttribute2dStepSerde),
}
Variants
CreateAttribute(CreateAttributeStepSerde)
Debug(String)
DistortAlongX(Distortion1dStepSerde)
DistortAlongY(Distortion1dStepSerde)
Distortion2d(Distortion2dStepSerde)
GeneratorAdd(GeneratorStepSerde)
GeneratorSub(GeneratorStepSerde)
ModifyWithAttribute(ModifyWithAttributeStepSerde)
TransformAttribute2d(TransformAttribute2dStepSerde)
Implementations
sourceimpl GenerationStepSerde
impl GenerationStepSerde
sourcepub fn new_create_attribute(f0: CreateAttributeStepSerde) -> Self
pub fn new_create_attribute(f0: CreateAttributeStepSerde) -> Self
Constructs a new GenerationStepSerde::CreateAttribute
.
sourceimpl GenerationStepSerde
impl GenerationStepSerde
sourcepub fn new_distort_along_x(f0: Distortion1dStepSerde) -> Self
pub fn new_distort_along_x(f0: Distortion1dStepSerde) -> Self
Constructs a new GenerationStepSerde::DistortAlongX
.
sourceimpl GenerationStepSerde
impl GenerationStepSerde
sourcepub fn new_distort_along_y(f0: Distortion1dStepSerde) -> Self
pub fn new_distort_along_y(f0: Distortion1dStepSerde) -> Self
Constructs a new GenerationStepSerde::DistortAlongY
.
sourceimpl GenerationStepSerde
impl GenerationStepSerde
sourcepub fn new_distortion2d(f0: Distortion2dStepSerde) -> Self
pub fn new_distortion2d(f0: Distortion2dStepSerde) -> Self
Constructs a new GenerationStepSerde::Distortion2d
.
sourceimpl GenerationStepSerde
impl GenerationStepSerde
sourcepub fn new_generator_add(f0: GeneratorStepSerde) -> Self
pub fn new_generator_add(f0: GeneratorStepSerde) -> Self
Constructs a new GenerationStepSerde::GeneratorAdd
.
sourceimpl GenerationStepSerde
impl GenerationStepSerde
sourcepub fn new_generator_sub(f0: GeneratorStepSerde) -> Self
pub fn new_generator_sub(f0: GeneratorStepSerde) -> Self
Constructs a new GenerationStepSerde::GeneratorSub
.
sourceimpl GenerationStepSerde
impl GenerationStepSerde
sourcepub fn new_modify_with_attribute(f0: ModifyWithAttributeStepSerde) -> Self
pub fn new_modify_with_attribute(f0: ModifyWithAttributeStepSerde) -> Self
Constructs a new GenerationStepSerde::ModifyWithAttribute
.
sourceimpl GenerationStepSerde
impl GenerationStepSerde
sourcepub fn new_transform_attribute2d(f0: TransformAttribute2dStepSerde) -> Self
pub fn new_transform_attribute2d(f0: TransformAttribute2dStepSerde) -> Self
Constructs a new GenerationStepSerde::TransformAttribute2d
.
Trait Implementations
sourceimpl Debug for GenerationStepSerde
impl Debug for GenerationStepSerde
sourceimpl<'de> Deserialize<'de> for GenerationStepSerde
impl<'de> Deserialize<'de> for GenerationStepSerde
sourcefn 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
sourceimpl FromStep<GenerationStepSerde> for GenerationStep
impl FromStep<GenerationStepSerde> for GenerationStep
fn convert(&self, attributes: &mut Vec<String>) -> GenerationStepSerde
sourceimpl Serialize for GenerationStepSerde
impl Serialize for GenerationStepSerde
sourceimpl ToStep<GenerationStep> for GenerationStepSerde
impl ToStep<GenerationStep> for GenerationStepSerde
fn try_convert(self, attributes: &mut Vec<String>) -> Result<GenerationStep>
Auto Trait Implementations
impl RefUnwindSafe for GenerationStepSerde
impl Send for GenerationStepSerde
impl Sync for GenerationStepSerde
impl Unpin for GenerationStepSerde
impl UnwindSafe for GenerationStepSerde
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more