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