Struct x11rb::protocol::xproto::StoreColorsRequest
source · pub struct StoreColorsRequest<'input> {
pub cmap: u32,
pub items: Cow<'input, [Coloritem]>,
}
Fields§
§cmap: u32
§items: Cow<'input, [Coloritem]>
Implementations§
source§impl<'input> StoreColorsRequest<'input>
impl<'input> StoreColorsRequest<'input>
sourcepub fn serialize(self) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
pub fn serialize(self) -> ([Cow<'input, [u8]>; 3], Vec<OwnedFd>)
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> StoreColorsRequest<'static>
pub fn into_owned(self) -> StoreColorsRequest<'static>
Clone all borrowed data in this StoreColorsRequest.
Trait Implementations§
source§impl<'input> Clone for StoreColorsRequest<'input>
impl<'input> Clone for StoreColorsRequest<'input>
source§fn clone(&self) -> StoreColorsRequest<'input>
fn clone(&self) -> StoreColorsRequest<'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 StoreColorsRequest<'_>
impl Debug for StoreColorsRequest<'_>
source§impl<'input> Default for StoreColorsRequest<'input>
impl<'input> Default for StoreColorsRequest<'input>
source§fn default() -> StoreColorsRequest<'input>
fn default() -> StoreColorsRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for StoreColorsRequest<'input>
impl<'input> Request for StoreColorsRequest<'input>
impl<'input> VoidRequest for StoreColorsRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for StoreColorsRequest<'input>
impl<'input> RefUnwindSafe for StoreColorsRequest<'input>
impl<'input> Send for StoreColorsRequest<'input>
impl<'input> Sync for StoreColorsRequest<'input>
impl<'input> Unpin for StoreColorsRequest<'input>
impl<'input> UnwindSafe for StoreColorsRequest<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)