pub struct ReleaseEvent<'alloc> { /* private fields */ }Expand description
Opaque handle to reusable input data for selection gesture release operations.
Implementations§
Source§impl<'alloc> ReleaseEvent<'alloc>
impl<'alloc> ReleaseEvent<'alloc>
Sourcepub fn new_with_alloc<'ctx: 'alloc>(
alloc: &'alloc Allocator<'ctx>,
) -> Result<Self>
pub fn new_with_alloc<'ctx: 'alloc>( alloc: &'alloc Allocator<'ctx>, ) -> Result<Self>
Create a new selection gesture release event instance with a custom allocator.
See the crate-level documentation regarding custom memory management and lifetimes.
Trait Implementations§
Auto Trait Implementations§
impl<'alloc> !Send for ReleaseEvent<'alloc>
impl<'alloc> !Sync for ReleaseEvent<'alloc>
impl<'alloc> Freeze for ReleaseEvent<'alloc>
impl<'alloc> RefUnwindSafe for ReleaseEvent<'alloc>
impl<'alloc> Unpin for ReleaseEvent<'alloc>
impl<'alloc> UnsafeUnpin for ReleaseEvent<'alloc>
impl<'alloc> UnwindSafe for ReleaseEvent<'alloc>
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