pub struct IFrameCallbackInfo {
pub system_fonts: *const FcFontCache,
pub image_cache: *const ImageCache,
pub window_theme: WindowTheme,
pub bounds: HidpiAdjustedBounds,
pub scroll_size: LogicalSize,
pub scroll_offset: LogicalPosition,
pub virtual_scroll_size: LogicalSize,
pub virtual_scroll_offset: LogicalPosition,
/* private fields */
}Fields§
§system_fonts: *const FcFontCache§image_cache: *const ImageCache§window_theme: WindowTheme§bounds: HidpiAdjustedBounds§scroll_size: LogicalSize§scroll_offset: LogicalPosition§virtual_scroll_size: LogicalSize§virtual_scroll_offset: LogicalPositionImplementations§
Source§impl IFrameCallbackInfo
impl IFrameCallbackInfo
pub fn new<'a>( system_fonts: &'a FcFontCache, image_cache: &'a ImageCache, window_theme: WindowTheme, bounds: HidpiAdjustedBounds, scroll_size: LogicalSize, scroll_offset: LogicalPosition, virtual_scroll_size: LogicalSize, virtual_scroll_offset: LogicalPosition, ) -> Self
pub fn get_bounds(&self) -> HidpiAdjustedBounds
Trait Implementations§
Source§impl Clone for IFrameCallbackInfo
impl Clone for IFrameCallbackInfo
Auto Trait Implementations§
impl Freeze for IFrameCallbackInfo
impl RefUnwindSafe for IFrameCallbackInfo
impl !Send for IFrameCallbackInfo
impl !Sync for IFrameCallbackInfo
impl Unpin for IFrameCallbackInfo
impl UnwindSafe for IFrameCallbackInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more