Struct winit::platform_impl::platform::wayland::protocols::wp_fractional_scale_manager_v1::WpFractionalScaleManagerV1
source · pub struct WpFractionalScaleManagerV1(Proxy<WpFractionalScaleManagerV1>);
Tuple Fields§
§0: Proxy<WpFractionalScaleManagerV1>
Implementations§
source§impl WpFractionalScaleManagerV1
impl WpFractionalScaleManagerV1
sourcepub fn destroy(&self)
pub fn destroy(&self)
unbind the fractional surface scale interface
Informs the server that the client will not be using this protocol object anymore. This does not affect any other objects, wp_fractional_scale_v1 objects included.
This is a destructor, you cannot send requests to this object any longer once this method is called.
sourcepub fn get_fractional_scale(
&self,
surface: &WlSurface
) -> Main<WpFractionalScaleV1>
pub fn get_fractional_scale( &self, surface: &WlSurface ) -> Main<WpFractionalScaleV1>
extend surface interface for scale information
Create an add-on object for the the wl_surface to let the compositor request fractional scales. If the given wl_surface already has a wp_fractional_scale_v1 object associated, the fractional_scale_exists protocol error is raised.
Trait Implementations§
source§impl Clone for WpFractionalScaleManagerV1
impl Clone for WpFractionalScaleManagerV1
source§fn clone(&self) -> WpFractionalScaleManagerV1
fn clone(&self) -> WpFractionalScaleManagerV1
Returns a copy 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 WpFractionalScaleManagerV1
impl Debug for WpFractionalScaleManagerV1
source§impl From<WpFractionalScaleManagerV1> for Proxy<WpFractionalScaleManagerV1>
impl From<WpFractionalScaleManagerV1> for Proxy<WpFractionalScaleManagerV1>
source§fn from(value: WpFractionalScaleManagerV1) -> Self
fn from(value: WpFractionalScaleManagerV1) -> Self
Converts to this type from the input type.
source§impl GlobalHandler<WpFractionalScaleManagerV1> for WinitEnv
impl GlobalHandler<WpFractionalScaleManagerV1> for WinitEnv
source§fn created(
&mut self,
registry: Attached<WlRegistry>,
id: u32,
version: u32,
ddata: DispatchData<'_>
)
fn created( &mut self, registry: Attached<WlRegistry>, id: u32, version: u32, ddata: DispatchData<'_> )
This global was created and signaled in the registry with given id and version
source§impl Interface for WpFractionalScaleManagerV1
impl Interface for WpFractionalScaleManagerV1
source§fn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
source§impl PartialEq<WpFractionalScaleManagerV1> for WpFractionalScaleManagerV1
impl PartialEq<WpFractionalScaleManagerV1> for WpFractionalScaleManagerV1
source§fn eq(&self, other: &WpFractionalScaleManagerV1) -> bool
fn eq(&self, other: &WpFractionalScaleManagerV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WpFractionalScaleManagerV1
impl StructuralEq for WpFractionalScaleManagerV1
impl StructuralPartialEq for WpFractionalScaleManagerV1
Auto Trait Implementations§
impl !RefUnwindSafe for WpFractionalScaleManagerV1
impl Send for WpFractionalScaleManagerV1
impl Sync for WpFractionalScaleManagerV1
impl Unpin for WpFractionalScaleManagerV1
impl !UnwindSafe for WpFractionalScaleManagerV1
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