pub struct AddTraps<'a> {
pub picture: Picture,
pub x_off: i16,
pub y_off: i16,
pub traps: &'a [Trap],
}
Expand description
The AddTraps
request.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields§
§picture: Picture
§x_off: i16
§y_off: i16
§traps: &'a [Trap]
Trait Implementations§
source§impl<'a> RawRequest for AddTraps<'a>
impl<'a> RawRequest for AddTraps<'a>
source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
impl<'a> RequestWithoutReply for AddTraps<'a>
Auto Trait Implementations§
impl<'a> Freeze for AddTraps<'a>
impl<'a> RefUnwindSafe for AddTraps<'a>
impl<'a> Send for AddTraps<'a>
impl<'a> Sync for AddTraps<'a>
impl<'a> Unpin for AddTraps<'a>
impl<'a> UnwindSafe for AddTraps<'a>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)