Struct winit::platform_impl::platform::wayland::window::shim::FractionalScalingState
source · pub struct FractionalScalingState {
pub viewport: WpViewport,
pub fractional_scale: WpFractionalScaleV1,
}
Expand description
Fractional scaling objects.
Fields§
§viewport: WpViewport
The wp-viewport of the window.
fractional_scale: WpFractionalScaleV1
The wp-fractional-scale of the window surface.
Implementations§
source§impl FractionalScalingState
impl FractionalScalingState
pub fn new(viewport: WpViewport, fractional_scale: WpFractionalScaleV1) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FractionalScalingState
impl Send for FractionalScalingState
impl Sync for FractionalScalingState
impl Unpin for FractionalScalingState
impl !UnwindSafe for FractionalScalingState
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