Struct wayland_client::protocol::wl_region::WlRegion [−][src]
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]
type Request = Request
Set of requests associated to this interface Read more
type Event = Event
Set of events associated to this interface Read more
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
[src]
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
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,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,