Struct wayland_client::protocol::wl_region::WlRegion [−][src]
pub struct WlRegion(_);
Implementations
impl WlRegion
[src][−]
pub fn destroy(&self)
[src][−]
destroy region
Destroy the region. This will invalidate the object ID.
This is a destructor, you cannot send requests to this object any longer once this method is called.
pub fn add(&self, x: i32, y: i32, width: i32, height: i32)
[src][−]
add rectangle to region
Add the specified rectangle to the region.
pub fn subtract(&self, x: i32, y: i32, width: i32, height: i32)
[src][−]
subtract rectangle from region
Subtract the specified rectangle from the region.
Trait Implementations
impl AsRef<Proxy<WlRegion>> for WlRegion
[src][+]
impl Clone for WlRegion
[src][+]
impl Debug for WlRegion
[src][+]
impl Eq for WlRegion
[src]
impl From<Proxy<WlRegion>> for WlRegion
[src][+]
impl From<WlRegion> for Proxy<WlRegion>
[src][+]
impl Interface for WlRegion
[src][+]
impl PartialEq<WlRegion> for WlRegion
[src][+]
impl StructuralEq for WlRegion
[src]
impl StructuralPartialEq for WlRegion
[src]
Auto Trait Implementations
impl !RefUnwindSafe for WlRegion
impl Send for WlRegion
impl Sync for WlRegion
impl Unpin for WlRegion
impl !UnwindSafe for WlRegion
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,