pub struct AlignSnap {
pub dx: f32,
pub dy: f32,
pub guides: Vec<Guide>,
}Expand description
吸附结果:对拖动增量的修正量与要绘制的参考线。
Fields§
§dx: f32§dy: f32§guides: Vec<Guide>Trait Implementations§
impl StructuralPartialEq for AlignSnap
Auto Trait Implementations§
impl Forget for AlignSnap
impl Freeze for AlignSnap
impl Move for AlignSnap
impl RefUnwindSafe for AlignSnap
impl Send for AlignSnapwhere
RawVecInner: Send,
impl Sync for AlignSnapwhere
RawVecInner: Sync,
impl Unpin for AlignSnap
impl UnsafeUnpin for AlignSnap
impl UnwindSafe for AlignSnapwhere
RawVecInner: UnwindSafe,
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