Struct x11rb_protocol::protocol::shape::RectanglesRequest
source · pub struct RectanglesRequest<'input> {
pub operation: SO,
pub destination_kind: SK,
pub ordering: ClipOrdering,
pub destination_window: Window,
pub x_offset: i16,
pub y_offset: i16,
pub rectangles: Cow<'input, [Rectangle]>,
}
Fields§
§operation: SO
§destination_kind: SK
§ordering: ClipOrdering
§destination_window: Window
§x_offset: i16
§y_offset: i16
§rectangles: Cow<'input, [Rectangle]>
Implementations§
source§impl<'input> RectanglesRequest<'input>
impl<'input> RectanglesRequest<'input>
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 3]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 3]>
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> RectanglesRequest<'static>
pub fn into_owned(self) -> RectanglesRequest<'static>
Clone all borrowed data in this RectanglesRequest.
Trait Implementations§
source§impl<'input> Clone for RectanglesRequest<'input>
impl<'input> Clone for RectanglesRequest<'input>
source§fn clone(&self) -> RectanglesRequest<'input>
fn clone(&self) -> RectanglesRequest<'input>
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 RectanglesRequest<'_>
impl Debug for RectanglesRequest<'_>
source§impl<'input> Default for RectanglesRequest<'input>
impl<'input> Default for RectanglesRequest<'input>
source§fn default() -> RectanglesRequest<'input>
fn default() -> RectanglesRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for RectanglesRequest<'input>
impl<'input> Request for RectanglesRequest<'input>
impl<'input> VoidRequest for RectanglesRequest<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for RectanglesRequest<'input>
impl<'input> Send for RectanglesRequest<'input>
impl<'input> Sync for RectanglesRequest<'input>
impl<'input> Unpin for RectanglesRequest<'input>
impl<'input> UnwindSafe for RectanglesRequest<'input>
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