pub struct DragPlugin {
pub config: DragConfig,
}Expand description
Plugin: installs DragConfig and registers the three drag systems.
Fields§
§config: DragConfigInitial config; users can mutate the resource at runtime.
Trait Implementations§
Source§impl Default for DragPlugin
impl Default for DragPlugin
Source§fn default() -> DragPlugin
fn default() -> DragPlugin
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DragPlugin
impl RefUnwindSafe for DragPlugin
impl Send for DragPlugin
impl Sync for DragPlugin
impl Unpin for DragPlugin
impl UnsafeUnpin for DragPlugin
impl UnwindSafe for DragPlugin
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
§impl<T> FromWorld for Twhere
T: Default,
impl<T> FromWorld for Twhere
T: Default,
§fn from_world(_world: &mut World) -> T
fn from_world(_world: &mut World) -> T
Creates Self using default().
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.