pub struct CursorInfo {
pub hotspot: Point,
pub image_scale_factor: f32,
pub buffer: *mut c_void,
pub size: Size,
}Expand description
See _cef_cursor_info_t for more documentation.
Fields§
§hotspot: Point§image_scale_factor: f32§buffer: *mut c_void§size: SizeTrait Implementations§
Source§impl Clone for CursorInfo
impl Clone for CursorInfo
Source§fn clone(&self) -> CursorInfo
fn clone(&self) -> CursorInfo
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 CursorInfo
impl Debug for CursorInfo
Source§impl Default for CursorInfo
impl Default for CursorInfo
Source§impl From<CursorInfo> for _cef_cursor_info_t
impl From<CursorInfo> for _cef_cursor_info_t
Source§fn from(value: CursorInfo) -> Self
fn from(value: CursorInfo) -> Self
Converts to this type from the input type.
Source§impl From<_cef_cursor_info_t> for CursorInfo
impl From<_cef_cursor_info_t> for CursorInfo
Source§fn from(value: _cef_cursor_info_t) -> Self
fn from(value: _cef_cursor_info_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CursorInfo
impl RefUnwindSafe for CursorInfo
impl !Send for CursorInfo
impl !Sync for CursorInfo
impl Unpin for CursorInfo
impl UnwindSafe for CursorInfo
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