Skip to main content

ToolEffector

Struct ToolEffector 

#[repr(C)]
pub struct ToolEffector { pub kind: ToolKind, pub blade_width_m: f32, pub rake_angle_rad: f32, pub wedge_angle_rad: f32, pub applied_force_n: f32, pub applied_torque_nm: f32, pub capacity_volume_m3: f32, }
Expand description

Kinematic tool effector parameters.

Fields§

§kind: ToolKind

Category of tool or actuator.

§blade_width_m: f32

Transverse blade or contact edge width in meters.

§rake_angle_rad: f32

Forward rake angle relative to soil surface in radians (typically 0.5 - 1.2 rad).

§wedge_angle_rad: f32

Sharpness wedge angle at the cutting tip in radians.

§applied_force_n: f32

Maximum normal/breakout force available from operator or hydraulic ram in Newtons.

§applied_torque_nm: f32

Operator applied prying torque in Newton-meters.

§capacity_volume_m3: f32

Maximum scoop or bucket volumetric capacity in cubic meters.

Implementations§

§

impl ToolEffector

pub fn mouse_click() -> ToolEffector

Pure mouse click / pointer gaze (informational, non-destructive).

pub fn hand_spade() -> ToolEffector

Standard steel trenching spade operated by an adult human with foot-step drive.

pub fn pickaxe() -> ToolEffector

Pointed pickaxe swing.

pub fn mini_excavator() -> ToolEffector

Mini-excavator 5-tonne backhoe bucket.

pub fn wombat_claws() -> ToolEffector

Wombat forelimb fossorial claws (Vombatus ursinus).

Trait Implementations§

§

impl Clone for ToolEffector

§

fn clone(&self) -> ToolEffector

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for ToolEffector

§

impl Debug for ToolEffector

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl PartialEq for ToolEffector

§

fn eq(&self, other: &ToolEffector) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
§

impl StructuralPartialEq for ToolEffector

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WasmNotSend for T
where T: Send,

§

impl<T> WasmNotSendSync for T
where T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,