Skip to main content

stamp

Function stamp 

Source
pub fn stamp(data: &mut Drawing<'_>, tool: ToolName, at: Pos2) -> Option<Tool>
Expand description

Stamp tool’s default thing at the world point at, returning the tool the gesture settles on — the same editor its dragged sibling opens, so a stamped thing is named the way a drawn one is.

None writes nothing: an image does not exist until a file is picked — the shell answers that drop with the pick itself — a route cannot exist without its endpoints, a pin exists only where a block offers a free slot’s marker, and Select creates nothing anywhere. A port on a locked level writes nothing either, and settles on Select.