Struct x11rb_protocol::protocol::xproto::StoreNamedColorRequest
source · pub struct StoreNamedColorRequest<'input> {
pub flags: ColorFlag,
pub cmap: Colormap,
pub pixel: u32,
pub name: Cow<'input, [u8]>,
}
Fields§
§flags: ColorFlag
§cmap: Colormap
§pixel: u32
§name: Cow<'input, [u8]>
Implementations§
source§impl<'input> StoreNamedColorRequest<'input>
impl<'input> StoreNamedColorRequest<'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) -> StoreNamedColorRequest<'static>
pub fn into_owned(self) -> StoreNamedColorRequest<'static>
Clone all borrowed data in this StoreNamedColorRequest.
Trait Implementations§
source§impl<'input> Clone for StoreNamedColorRequest<'input>
impl<'input> Clone for StoreNamedColorRequest<'input>
source§fn clone(&self) -> StoreNamedColorRequest<'input>
fn clone(&self) -> StoreNamedColorRequest<'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 StoreNamedColorRequest<'_>
impl Debug for StoreNamedColorRequest<'_>
source§impl<'input> Default for StoreNamedColorRequest<'input>
impl<'input> Default for StoreNamedColorRequest<'input>
source§fn default() -> StoreNamedColorRequest<'input>
fn default() -> StoreNamedColorRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for StoreNamedColorRequest<'input>
impl<'input> Request for StoreNamedColorRequest<'input>
impl<'input> VoidRequest for StoreNamedColorRequest<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for StoreNamedColorRequest<'input>
impl<'input> Send for StoreNamedColorRequest<'input>
impl<'input> Sync for StoreNamedColorRequest<'input>
impl<'input> Unpin for StoreNamedColorRequest<'input>
impl<'input> UnwindSafe for StoreNamedColorRequest<'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