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