MoveGesture
struct · ferroui-designer-tools · v0.5.0
struct MoveGesture
An immutable drag start snapshot. Preview is pure geometry; commit refuses to apply a stale gesture after source or collaboration edits have changed the authored revision.
Members
begin
fn begin(document: &Document, nodes: &[NodeId], measurements: &BTreeMap<NodeId, Rect>, start: Point, snap: SnapSettings) -> Result<Self>
preview
fn preview(self: &Self, pointer: Point) -> Result<SnapResult>
commit
fn commit(self: &Self, context: &LayoutContext<'_>, registry: &LayoutRegistry, pointer: Point) -> Result<Vec<Edit>>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>Any
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.