Struct x11rb_protocol::protocol::xproto::FreeColorsRequest
source · pub struct FreeColorsRequest<'input> {
pub cmap: Colormap,
pub plane_mask: u32,
pub pixels: Cow<'input, [u32]>,
}
Fields§
§cmap: Colormap
§plane_mask: u32
§pixels: Cow<'input, [u32]>
Implementations§
source§impl<'input> FreeColorsRequest<'input>
impl<'input> FreeColorsRequest<'input>
sourcepub fn serialize(self) -> BufWithFds<[Cow<'input, [u8]>; 3]>
pub fn serialize(self) -> BufWithFds<[Cow<'input, [u8]>; 3]>
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> FreeColorsRequest<'static>
pub fn into_owned(self) -> FreeColorsRequest<'static>
Clone all borrowed data in this FreeColorsRequest.
Trait Implementations§
source§impl<'input> Clone for FreeColorsRequest<'input>
impl<'input> Clone for FreeColorsRequest<'input>
source§fn clone(&self) -> FreeColorsRequest<'input>
fn clone(&self) -> FreeColorsRequest<'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 FreeColorsRequest<'_>
impl Debug for FreeColorsRequest<'_>
source§impl<'input> Default for FreeColorsRequest<'input>
impl<'input> Default for FreeColorsRequest<'input>
source§fn default() -> FreeColorsRequest<'input>
fn default() -> FreeColorsRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for FreeColorsRequest<'input>
impl<'input> Request for FreeColorsRequest<'input>
impl<'input> VoidRequest for FreeColorsRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for FreeColorsRequest<'input>
impl<'input> RefUnwindSafe for FreeColorsRequest<'input>
impl<'input> Send for FreeColorsRequest<'input>
impl<'input> Sync for FreeColorsRequest<'input>
impl<'input> Unpin for FreeColorsRequest<'input>
impl<'input> UnwindSafe for FreeColorsRequest<'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