Struct x11rb_protocol::protocol::randr::GetCrtcTransformReply
source · pub struct GetCrtcTransformReply {
pub sequence: u16,
pub length: u32,
pub pending_transform: Transform,
pub has_transforms: bool,
pub current_transform: Transform,
pub pending_filter_name: Vec<u8>,
pub pending_params: Vec<Fixed>,
pub current_filter_name: Vec<u8>,
pub current_params: Vec<Fixed>,
}
Fields§
§sequence: u16
§length: u32
§pending_transform: Transform
§has_transforms: bool
§current_transform: Transform
§pending_filter_name: Vec<u8>
§pending_params: Vec<Fixed>
§current_filter_name: Vec<u8>
§current_params: Vec<Fixed>
Implementations§
source§impl GetCrtcTransformReply
impl GetCrtcTransformReply
sourcepub fn pending_len(&self) -> u16
pub fn pending_len(&self) -> u16
Get the value of the pending_len
field.
The pending_len
field is used as the length field of the pending_filter_name
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 pending_nparams(&self) -> u16
pub fn pending_nparams(&self) -> u16
Get the value of the pending_nparams
field.
The pending_nparams
field is used as the length field of the pending_params
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 current_len(&self) -> u16
pub fn current_len(&self) -> u16
Get the value of the current_len
field.
The current_len
field is used as the length field of the current_filter_name
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 current_nparams(&self) -> u16
pub fn current_nparams(&self) -> u16
Get the value of the current_nparams
field.
The current_nparams
field is used as the length field of the current_params
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 GetCrtcTransformReply
impl Clone for GetCrtcTransformReply
source§fn clone(&self) -> GetCrtcTransformReply
fn clone(&self) -> GetCrtcTransformReply
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetCrtcTransformReply
impl Debug for GetCrtcTransformReply
source§impl Default for GetCrtcTransformReply
impl Default for GetCrtcTransformReply
source§fn default() -> GetCrtcTransformReply
fn default() -> GetCrtcTransformReply
source§impl From<GetCrtcTransformReply> for Reply
impl From<GetCrtcTransformReply> for Reply
source§fn from(reply: GetCrtcTransformReply) -> Reply
fn from(reply: GetCrtcTransformReply) -> Reply
source§impl Serialize for GetCrtcTransformReply
impl Serialize for GetCrtcTransformReply
Auto Trait Implementations§
impl Freeze for GetCrtcTransformReply
impl RefUnwindSafe for GetCrtcTransformReply
impl Send for GetCrtcTransformReply
impl Sync for GetCrtcTransformReply
impl Unpin for GetCrtcTransformReply
impl UnwindSafe for GetCrtcTransformReply
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
)