[−][src]Struct xproto::xQueryTextExtentsReply
Fields
type_: BYTE
drawDirection: CARD8
sequenceNumber: CARD16
length: CARD32
fontAscent: INT16
fontDescent: INT16
overallAscent: INT16
overallDescent: INT16
overallWidth: INT32
overallLeft: INT32
overallRight: INT32
pad: CARD32
Trait Implementations
impl Clone for xQueryTextExtentsReply
[src]
fn clone(&self) -> xQueryTextExtentsReply
[src]
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for xQueryTextExtentsReply
[src]
impl Copy for xQueryTextExtentsReply
[src]
impl PartialEq<xQueryTextExtentsReply> for xQueryTextExtentsReply
[src]
fn eq(&self, other: &xQueryTextExtentsReply) -> bool
[src]
fn ne(&self, other: &xQueryTextExtentsReply) -> bool
[src]
impl Debug for xQueryTextExtentsReply
[src]
impl Parcel for xQueryTextExtentsReply
[src]
const TYPE_NAME: &'static str
[src]
fn read_field(
__io_reader: &mut dyn Read,
__settings: &Settings,
_: &mut Hints
) -> Result<Self, Error>
[src]
__io_reader: &mut dyn Read,
__settings: &Settings,
_: &mut Hints
) -> Result<Self, Error>
fn write_field(
&self,
__io_writer: &mut dyn Write,
__settings: &Settings,
_: &mut Hints
) -> Result<(), Error>
[src]
&self,
__io_writer: &mut dyn Write,
__settings: &Settings,
_: &mut Hints
) -> Result<(), Error>
default fn read(read: &mut dyn Read, settings: &Settings) -> Result<Self, Error>
[src]
Reads a new item with a fresh set of hints. Read more
default fn write(
&self,
write: &mut dyn Write,
settings: &Settings
) -> Result<(), Error>
[src]
&self,
write: &mut dyn Write,
settings: &Settings
) -> Result<(), Error>
Writes a value to a stream.
default fn into_stream(
self,
settings: &Settings
) -> Result<Cursor<Vec<u8>>, Error>
[src]
self,
settings: &Settings
) -> Result<Cursor<Vec<u8>>, Error>
Convers the value into a byte stream that implements std::io::Read
.
default fn from_raw_bytes(
bytes: &[u8],
settings: &Settings
) -> Result<Self, Error>
[src]
bytes: &[u8],
settings: &Settings
) -> Result<Self, Error>
Parses a new value from its raw byte representation. Read more
default fn field_from_raw_bytes(
bytes: &[u8],
settings: &Settings,
hints: &mut Hints
) -> Result<Self, Error>
[src]
bytes: &[u8],
settings: &Settings,
hints: &mut Hints
) -> Result<Self, Error>
Parses a new value from its raw byte representation. Read more
default fn raw_bytes(&self, settings: &Settings) -> Result<Vec<u8>, Error>
[src]
Gets the raw byte representation of the value.
default fn raw_bytes_field(
&self,
settings: &Settings,
hints: &mut Hints
) -> Result<Vec<u8>, Error>
[src]
&self,
settings: &Settings,
hints: &mut Hints
) -> Result<Vec<u8>, Error>
Gets the raw bytes of this type as a field of a larger type.
default fn type_name(&self) -> &'static str
[src]
Gets the name of the type; Parcel::TYPE_NAME
.
Auto Trait Implementations
impl Send for xQueryTextExtentsReply
impl Sync for xQueryTextExtentsReply
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<H> Parcel for H where
H: HighLevel,
[src]
H: HighLevel,
const TYPE_NAME: &'static str
[src]
fn read_field(
read: &mut dyn Read,
settings: &Settings,
hints: &mut Hints
) -> Result<H, Error>
[src]
read: &mut dyn Read,
settings: &Settings,
hints: &mut Hints
) -> Result<H, Error>
fn write_field(
&self,
write: &mut dyn Write,
settings: &Settings,
hints: &mut Hints
) -> Result<(), Error>
[src]
&self,
write: &mut dyn Write,
settings: &Settings,
hints: &mut Hints
) -> Result<(), Error>
default fn read(read: &mut dyn Read, settings: &Settings) -> Result<Self, Error>
[src]
Reads a new item with a fresh set of hints. Read more
default fn write(
&self,
write: &mut dyn Write,
settings: &Settings
) -> Result<(), Error>
[src]
&self,
write: &mut dyn Write,
settings: &Settings
) -> Result<(), Error>
Writes a value to a stream.
default fn into_stream(
self,
settings: &Settings
) -> Result<Cursor<Vec<u8>>, Error>
[src]
self,
settings: &Settings
) -> Result<Cursor<Vec<u8>>, Error>
Convers the value into a byte stream that implements std::io::Read
.
default fn from_raw_bytes(
bytes: &[u8],
settings: &Settings
) -> Result<Self, Error>
[src]
bytes: &[u8],
settings: &Settings
) -> Result<Self, Error>
Parses a new value from its raw byte representation. Read more
default fn field_from_raw_bytes(
bytes: &[u8],
settings: &Settings,
hints: &mut Hints
) -> Result<Self, Error>
[src]
bytes: &[u8],
settings: &Settings,
hints: &mut Hints
) -> Result<Self, Error>
Parses a new value from its raw byte representation. Read more
default fn raw_bytes(&self, settings: &Settings) -> Result<Vec<u8>, Error>
[src]
Gets the raw byte representation of the value.
default fn raw_bytes_field(
&self,
settings: &Settings,
hints: &mut Hints
) -> Result<Vec<u8>, Error>
[src]
&self,
settings: &Settings,
hints: &mut Hints
) -> Result<Vec<u8>, Error>
Gets the raw bytes of this type as a field of a larger type.
default fn type_name(&self) -> &'static str
[src]
Gets the name of the type; Parcel::TYPE_NAME
.