Struct x11rb_protocol::protocol::glx::GetTexGenivRequest
source · pub struct GetTexGenivRequest {
pub context_tag: ContextTag,
pub coord: u32,
pub pname: u32,
}
Fields§
§context_tag: ContextTag
§coord: u32
§pname: u32
Implementations§
source§impl GetTexGenivRequest
impl GetTexGenivRequest
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'static, [u8]>; 1]>
Serialize this request into bytes for the provided connection
sourcepub fn try_parse_request(
header: RequestHeader,
value: &[u8]
) -> Result<Self, ParseError>
pub fn try_parse_request( header: RequestHeader, value: &[u8] ) -> Result<Self, ParseError>
Parse this request given its header, its body, and any fds that go along with it
Trait Implementations§
source§impl Clone for GetTexGenivRequest
impl Clone for GetTexGenivRequest
source§fn clone(&self) -> GetTexGenivRequest
fn clone(&self) -> GetTexGenivRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetTexGenivRequest
impl Debug for GetTexGenivRequest
source§impl Default for GetTexGenivRequest
impl Default for GetTexGenivRequest
source§fn default() -> GetTexGenivRequest
fn default() -> GetTexGenivRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetTexGenivRequest
impl<'de> Deserialize<'de> for GetTexGenivRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for GetTexGenivRequest
impl Hash for GetTexGenivRequest
source§impl Ord for GetTexGenivRequest
impl Ord for GetTexGenivRequest
source§fn cmp(&self, other: &GetTexGenivRequest) -> Ordering
fn cmp(&self, other: &GetTexGenivRequest) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GetTexGenivRequest
impl PartialEq for GetTexGenivRequest
source§fn eq(&self, other: &GetTexGenivRequest) -> bool
fn eq(&self, other: &GetTexGenivRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GetTexGenivRequest
impl PartialOrd for GetTexGenivRequest
source§fn partial_cmp(&self, other: &GetTexGenivRequest) -> Option<Ordering>
fn partial_cmp(&self, other: &GetTexGenivRequest) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ReplyRequest for GetTexGenivRequest
impl ReplyRequest for GetTexGenivRequest
§type Reply = GetTexGenivReply
type Reply = GetTexGenivReply
The kind of reply that this request generates.
source§impl Request for GetTexGenivRequest
impl Request for GetTexGenivRequest
source§impl Serialize for GetTexGenivRequest
impl Serialize for GetTexGenivRequest
impl Copy for GetTexGenivRequest
impl Eq for GetTexGenivRequest
impl StructuralPartialEq for GetTexGenivRequest
Auto Trait Implementations§
impl Freeze for GetTexGenivRequest
impl RefUnwindSafe for GetTexGenivRequest
impl Send for GetTexGenivRequest
impl Sync for GetTexGenivRequest
impl Unpin for GetTexGenivRequest
impl UnwindSafe for GetTexGenivRequest
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