pub struct Sortable {
pub raw_object: Object,
/* private fields */
}
Expand description
Data related to the Sortable instance
When it is dropped, the list is made non-sortable again. This is required because callbacks could be called otherwise. If it is a problem for you, you can leak it, but be aware of the fact that it is a leak.
Fields§
§raw_object: Object
Raw Sortable JS object, should this crate not expose the necessary methods
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sortable
impl !RefUnwindSafe for Sortable
impl !Send for Sortable
impl !Sync for Sortable
impl Unpin for Sortable
impl !UnwindSafe for Sortable
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