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