pub struct ExplodeArgs {
pub parts: Vec<String>,
pub direction: Direction,
pub reversed: bool,
pub distance: f64,
pub angle: f64,
pub trails: bool,
}Fields§
§parts: Vec<String>The placed parts moved, by their paths: bolt, or asm/bolt for
one placed in a placed part.
direction: Direction§reversed: boolAgainst the direction.
distance: f64How far along it.
angle: f64How far turned about it, through the middle of the parts moved, in degrees.
trails: boolWhether a line trails each part from where it was.
Trait Implementations§
Source§impl Clone for ExplodeArgs
impl Clone for ExplodeArgs
Source§fn clone(&self) -> ExplodeArgs
fn clone(&self) -> ExplodeArgs
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 Debug for ExplodeArgs
impl Debug for ExplodeArgs
Source§impl Default for ExplodeArgs
impl Default for ExplodeArgs
Source§impl<'de> Deserialize<'de> for ExplodeArgs
impl<'de> Deserialize<'de> for ExplodeArgs
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 PartialEq for ExplodeArgs
impl PartialEq for ExplodeArgs
Source§impl Serialize for ExplodeArgs
impl Serialize for ExplodeArgs
Source§impl StepArgs for ExplodeArgs
impl StepArgs for ExplodeArgs
Source§const KIND: &'static str = <Explode as ::geop_core_editor::part_operation::PartOperation>::KIND
const KIND: &'static str = <Explode as ::geop_core_editor::part_operation::PartOperation>::KIND
The kind of the operation they are for (see
Operation::KIND).impl StructuralPartialEq for ExplodeArgs
Auto Trait Implementations§
impl Freeze for ExplodeArgs
impl RefUnwindSafe for ExplodeArgs
impl Send for ExplodeArgs
impl Sync for ExplodeArgs
impl Unpin for ExplodeArgs
impl UnsafeUnpin for ExplodeArgs
impl UnwindSafe for ExplodeArgs
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