pub struct WpViewporter;
Expand description
surface cropping and scaling
The global interface exposing surface cropping and scaling capabilities is used to instantiate an interface extension for a wl_surface object. This extended interface will then allow cropping and scaling the surface contents, effectively disconnecting the direct relationship between the buffer and the surface size.
Trait Implementations§
Source§impl Debug for WpViewporter
impl Debug for WpViewporter
Source§impl Interface for WpViewporter
impl Interface for WpViewporter
Source§const NAME: &'static str = "wp_viewporter"
const NAME: &'static str = "wp_viewporter"
The name of this interface. This will correspond to the ‘name’ attribute
on the ‘interface’ element in the wayland protocol XML.
Auto Trait Implementations§
impl Freeze for WpViewporter
impl RefUnwindSafe for WpViewporter
impl Send for WpViewporter
impl Sync for WpViewporter
impl Unpin for WpViewporter
impl UnwindSafe for WpViewporter
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