Struct xcb::x::QueryBestSize
source · [−]pub struct QueryBestSize {
pub class: QueryShapeOf,
pub drawable: Drawable,
pub width: u16,
pub height: u16,
}
Expand description
The QueryBestSize
request.
This request replies QueryBestSizeReply.
Associated cookie types are QueryBestSizeCookie and QueryBestSizeCookieUnchecked.
Fields
class: QueryShapeOf
drawable: Drawable
width: u16
height: u16
Trait Implementations
sourceimpl Clone for QueryBestSize
impl Clone for QueryBestSize
sourcefn clone(&self) -> QueryBestSize
fn clone(&self) -> QueryBestSize
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for QueryBestSize
impl Debug for QueryBestSize
sourceimpl RawRequest for QueryBestSize
impl RawRequest for QueryBestSize
sourcefn 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
sourceimpl Request for QueryBestSize
impl Request for QueryBestSize
type Cookie = QueryBestSizeCookie
type Cookie = QueryBestSizeCookie
The default cookie associated to this request.
sourceimpl RequestWithReply for QueryBestSize
impl RequestWithReply for QueryBestSize
type Reply = QueryBestSizeReply
type Reply = QueryBestSizeReply
Reply associated with the request
type Cookie = QueryBestSizeCookie
type Cookie = QueryBestSizeCookie
Default cookie type for the request, as returned by Connection::send_request.
type CookieUnchecked = QueryBestSizeCookieUnchecked
type CookieUnchecked = QueryBestSizeCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations
impl RefUnwindSafe for QueryBestSize
impl Send for QueryBestSize
impl Sync for QueryBestSize
impl Unpin for QueryBestSize
impl UnwindSafe for QueryBestSize
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more