[][src]Struct xproto::xListHostsReply

#[repr(C)]
pub struct xListHostsReply { pub type_: BYTE, pub enabled: BOOL, pub sequenceNumber: CARD16, pub length: CARD32, pub nHosts: CARD16, pub pad1: CARD16, pub pad3: CARD32, pub pad4: CARD32, pub pad5: CARD32, pub pad6: CARD32, pub pad7: CARD32, }

Fields

type_: BYTEenabled: BOOLsequenceNumber: CARD16length: CARD32nHosts: CARD16pad1: CARD16pad3: CARD32pad4: CARD32pad5: CARD32pad6: CARD32pad7: CARD32

Trait Implementations

impl Clone for xListHostsReply[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for xListHostsReply[src]

impl Copy for xListHostsReply[src]

impl PartialEq<xListHostsReply> for xListHostsReply[src]

impl Debug for xListHostsReply[src]

impl Parcel for xListHostsReply[src]

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]

Writes a value to a stream.

default fn into_stream(
    self,
    settings: &Settings
) -> Result<Cursor<Vec<u8>>, Error>
[src]

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]

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]

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]

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

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<H> Parcel for H where
    H: HighLevel
[src]

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]

Writes a value to a stream.

default fn into_stream(
    self,
    settings: &Settings
) -> Result<Cursor<Vec<u8>>, Error>
[src]

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]

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]

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]

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.