Struct x11rb_protocol::protocol::render::QueryPictFormatsReply
source · pub struct QueryPictFormatsReply {
pub sequence: u16,
pub length: u32,
pub num_depths: u32,
pub num_visuals: u32,
pub formats: Vec<Pictforminfo>,
pub screens: Vec<Pictscreen>,
pub subpixels: Vec<SubPixel>,
}
Fields§
§sequence: u16
§length: u32
§num_depths: u32
§num_visuals: u32
§formats: Vec<Pictforminfo>
§screens: Vec<Pictscreen>
§subpixels: Vec<SubPixel>
Implementations§
source§impl QueryPictFormatsReply
impl QueryPictFormatsReply
sourcepub fn num_formats(&self) -> u32
pub fn num_formats(&self) -> u32
Get the value of the num_formats
field.
The num_formats
field is used as the length field of the formats
field.
This function computes the field’s value again based on the length of the list.
§Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
sourcepub fn num_screens(&self) -> u32
pub fn num_screens(&self) -> u32
Get the value of the num_screens
field.
The num_screens
field is used as the length field of the screens
field.
This function computes the field’s value again based on the length of the list.
§Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
sourcepub fn num_subpixel(&self) -> u32
pub fn num_subpixel(&self) -> u32
Get the value of the num_subpixel
field.
The num_subpixel
field is used as the length field of the subpixels
field.
This function computes the field’s value again based on the length of the list.
§Panics
Panics if the value cannot be represented in the target type. This cannot happen with values of the struct received from the X11 server.
Trait Implementations§
source§impl Clone for QueryPictFormatsReply
impl Clone for QueryPictFormatsReply
source§fn clone(&self) -> QueryPictFormatsReply
fn clone(&self) -> QueryPictFormatsReply
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryPictFormatsReply
impl Debug for QueryPictFormatsReply
source§impl Default for QueryPictFormatsReply
impl Default for QueryPictFormatsReply
source§fn default() -> QueryPictFormatsReply
fn default() -> QueryPictFormatsReply
source§impl From<QueryPictFormatsReply> for Reply
impl From<QueryPictFormatsReply> for Reply
source§fn from(reply: QueryPictFormatsReply) -> Reply
fn from(reply: QueryPictFormatsReply) -> Reply
source§impl Serialize for QueryPictFormatsReply
impl Serialize for QueryPictFormatsReply
Auto Trait Implementations§
impl Freeze for QueryPictFormatsReply
impl RefUnwindSafe for QueryPictFormatsReply
impl Send for QueryPictFormatsReply
impl Sync for QueryPictFormatsReply
impl Unpin for QueryPictFormatsReply
impl UnwindSafe for QueryPictFormatsReply
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
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)
clone_to_uninit
)