pub struct ChromeDragImage {
pub png_bytes: Vec<u8>,
pub pixel_width: u32,
pub pixel_height: u32,
pub scale: f32,
pub cursor_offset_x: i32,
pub cursor_offset_y: i32,
}Fields§
§png_bytes: Vec<u8>§pixel_width: u32§pixel_height: u32§scale: f32§cursor_offset_x: i32§cursor_offset_y: i32Trait Implementations§
Source§impl Clone for ChromeDragImage
impl Clone for ChromeDragImage
Source§fn clone(&self) -> ChromeDragImage
fn clone(&self) -> ChromeDragImage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChromeDragImage
impl Debug for ChromeDragImage
Source§impl From<ChromeDragImage> for DragImage
impl From<ChromeDragImage> for DragImage
Source§fn from(value: ChromeDragImage) -> Self
fn from(value: ChromeDragImage) -> Self
Converts to this type from the input type.
Source§impl From<DragImage> for ChromeDragImage
impl From<DragImage> for ChromeDragImage
Source§impl PartialEq for ChromeDragImage
impl PartialEq for ChromeDragImage
impl StructuralPartialEq for ChromeDragImage
Auto Trait Implementations§
impl Freeze for ChromeDragImage
impl RefUnwindSafe for ChromeDragImage
impl Send for ChromeDragImage
impl Sync for ChromeDragImage
impl Unpin for ChromeDragImage
impl UnsafeUnpin for ChromeDragImage
impl UnwindSafe for ChromeDragImage
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