pub struct RectSnap(/* private fields */);Implementations§
Source§impl RectSnap
impl RectSnap
pub fn direction(&self, side: Side) -> SnapDirection
pub fn new( top: SnapDirection, right: SnapDirection, bottom: SnapDirection, left: SnapDirection, ) -> RectSnap
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RectSnap
impl RefUnwindSafe for RectSnap
impl Send for RectSnap
impl Sync for RectSnap
impl Unpin for RectSnap
impl UnsafeUnpin for RectSnap
impl UnwindSafe for RectSnap
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