Trait xcb::Reply [−][src]
pub trait Reply {
unsafe fn from_raw(raw: *const u8) -> Self;
unsafe fn into_raw(self) -> *const u8;
}
Expand description
Trait for request replies
Required methods
Build the reply struct from a raw pointer.
Safety
raw
must be a pointer to a valid wire representation of Self
, allocated with libc::malloc
.