Struct x11rb::protocol::render::AddTrapsRequest
source · pub struct AddTrapsRequest<'input> {
pub picture: u32,
pub x_off: i16,
pub y_off: i16,
pub traps: Cow<'input, [Trap]>,
}
Fields§
§picture: u32
§x_off: i16
§y_off: i16
§traps: Cow<'input, [Trap]>
Implementations§
source§impl<'input> AddTrapsRequest<'input>
impl<'input> AddTrapsRequest<'input>
Trait Implementations§
source§impl<'input> Clone for AddTrapsRequest<'input>
impl<'input> Clone for AddTrapsRequest<'input>
source§fn clone(&self) -> AddTrapsRequest<'input>
fn clone(&self) -> AddTrapsRequest<'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 AddTrapsRequest<'_>
impl Debug for AddTrapsRequest<'_>
source§impl<'input> Default for AddTrapsRequest<'input>
impl<'input> Default for AddTrapsRequest<'input>
source§fn default() -> AddTrapsRequest<'input>
fn default() -> AddTrapsRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for AddTrapsRequest<'input>
impl<'input> Request for AddTrapsRequest<'input>
impl<'input> VoidRequest for AddTrapsRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for AddTrapsRequest<'input>
impl<'input> RefUnwindSafe for AddTrapsRequest<'input>
impl<'input> Send for AddTrapsRequest<'input>
impl<'input> Sync for AddTrapsRequest<'input>
impl<'input> Unpin for AddTrapsRequest<'input>
impl<'input> UnwindSafe for AddTrapsRequest<'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